Matteo Bruni : ddraw: D3DRENDERSTATE_NORMALIZENORMALS doesn' t exist before d3d7.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 31 10:38:51 CDT 2015


Module: wine
Branch: master
Commit: 382c8fde0897f1ed2250d6fd136122ae186f68a0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=382c8fde0897f1ed2250d6fd136122ae186f68a0

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon Mar 30 20:18:03 2015 +0200

ddraw: D3DRENDERSTATE_NORMALIZENORMALS doesn't exist before d3d7.

---

 dlls/ddraw/device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 582a1d4..688f02b 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -2525,6 +2525,7 @@ static HRESULT WINAPI d3d_device3_GetRenderState(IDirect3DDevice3 *iface,
         }
 
         case D3DRENDERSTATE_LIGHTING:
+        case D3DRENDERSTATE_NORMALIZENORMALS:
             *value = 0xffffffff;
             return D3D_OK;
 
@@ -2884,6 +2885,7 @@ static HRESULT WINAPI d3d_device3_SetRenderState(IDirect3DDevice3 *iface,
         }
 
         case D3DRENDERSTATE_LIGHTING:
+        case D3DRENDERSTATE_NORMALIZENORMALS:
             hr = D3D_OK;
             break;
 




More information about the wine-cvs mailing list