wined3d: Leave the fog state handler after disabling fog.
This commit is contained in:
parent
7560c8e1d2
commit
38d961a749
|
@ -666,6 +666,7 @@ static void state_fog(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DCo
|
||||||
/* No fog? Disable it, and we're done :-) */
|
/* No fog? Disable it, and we're done :-) */
|
||||||
glDisable(GL_FOG);
|
glDisable(GL_FOG);
|
||||||
checkGLcall("glDisable GL_FOG");
|
checkGLcall("glDisable GL_FOG");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
tmpvalue.d = stateblock->renderState[WINED3DRS_FOGSTART];
|
tmpvalue.d = stateblock->renderState[WINED3DRS_FOGSTART];
|
||||||
|
|
Loading…
Reference in New Issue