mirror of
https://github.com/aap/librw.git
synced 2024-11-24 12:45:43 +00:00
fix d3d state cache
This commit is contained in:
parent
71d132839e
commit
5c95300890
@ -377,6 +377,14 @@ restoreD3d9Device(void)
|
||||
d3dShaderState.surfProps.ambient = 0.0f;
|
||||
d3dShaderState.surfProps.specular = 0.0f;
|
||||
d3dShaderState.surfProps.diffuse = 0.0f;
|
||||
d3dShaderState.extraSurfProp = 0.0f;
|
||||
d3dShaderState.numDir = 0;
|
||||
d3dShaderState.numPoint = 0;
|
||||
d3dShaderState.numSpot = 0;
|
||||
d3dShaderState.ambient.red = 0.0f;
|
||||
d3dShaderState.ambient.green = 0.0f;
|
||||
d3dShaderState.ambient.blue = 0.0f;
|
||||
d3dShaderState.ambient.alpha = 0.0f;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user