ddraw: D3DRENDERSTATE_NORMALIZENORMALS doesn't exist before d3d7.

This commit is contained in:
Matteo Bruni 2015-03-30 20:18:03 +02:00 committed by Alexandre Julliard
parent e8aba71529
commit 382c8fde08
1 changed files with 2 additions and 0 deletions

View File

@ -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;