Module: wine Branch: master Commit: 72722222a74b6caa337d8e234fa27b002636f74e URL: http://source.winehq.org/git/wine.git/?a=commit;h=72722222a74b6caa337d8e234f...
Author: Matteo Bruni mbruni@codeweavers.com Date: Thu Apr 30 23:22:15 2015 +0200
ddraw: D3DRENDERSTATE_LOCALVIEWER 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 bc19897..408eb24 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -2529,6 +2529,7 @@ static HRESULT WINAPI d3d_device3_GetRenderState(IDirect3DDevice3 *iface,
case D3DRENDERSTATE_LIGHTING: case D3DRENDERSTATE_NORMALIZENORMALS: + case D3DRENDERSTATE_LOCALVIEWER: *value = 0xffffffff; return D3D_OK;
@@ -2889,6 +2890,7 @@ static HRESULT WINAPI d3d_device3_SetRenderState(IDirect3DDevice3 *iface,
case D3DRENDERSTATE_LIGHTING: case D3DRENDERSTATE_NORMALIZENORMALS: + case D3DRENDERSTATE_LOCALVIEWER: hr = D3D_OK; break;