Commit 72722222 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

ddraw: D3DRENDERSTATE_LOCALVIEWER doesn't exist before d3d7.

parent 2b36f195
...@@ -2529,6 +2529,7 @@ static HRESULT WINAPI d3d_device3_GetRenderState(IDirect3DDevice3 *iface, ...@@ -2529,6 +2529,7 @@ static HRESULT WINAPI d3d_device3_GetRenderState(IDirect3DDevice3 *iface,
case D3DRENDERSTATE_LIGHTING: case D3DRENDERSTATE_LIGHTING:
case D3DRENDERSTATE_NORMALIZENORMALS: case D3DRENDERSTATE_NORMALIZENORMALS:
case D3DRENDERSTATE_LOCALVIEWER:
*value = 0xffffffff; *value = 0xffffffff;
return D3D_OK; return D3D_OK;
...@@ -2889,6 +2890,7 @@ static HRESULT WINAPI d3d_device3_SetRenderState(IDirect3DDevice3 *iface, ...@@ -2889,6 +2890,7 @@ static HRESULT WINAPI d3d_device3_SetRenderState(IDirect3DDevice3 *iface,
case D3DRENDERSTATE_LIGHTING: case D3DRENDERSTATE_LIGHTING:
case D3DRENDERSTATE_NORMALIZENORMALS: case D3DRENDERSTATE_NORMALIZENORMALS:
case D3DRENDERSTATE_LOCALVIEWER:
hr = D3D_OK; hr = D3D_OK;
break; break;
......
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