Commit 8f72961e authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

ddraw: Move handling of D3DRENDERSTATE_TEXTUREMAPBLEND from d3ddevice2 to d3ddevice3.

parent edaaf63b
......@@ -336,6 +336,9 @@ struct IDirect3DDeviceImpl
IDirect3DViewportImpl *current_viewport;
D3DVIEWPORT7 active_viewport;
/* Required to keep track which of two available texture blending modes in d3ddevice3 is used */
BOOL legacyTextureBlending;
/* Light state */
DWORD material;
......
......@@ -820,6 +820,8 @@ IDirect3DImpl_7_CreateDevice(IDirect3D7 *iface,
object->Handles = NULL;
object->numHandles = 0;
object->legacyTextureBlending = FALSE;
/* This is for convenience */
object->wineD3DDevice = This->wineD3DDevice;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment