wined3d: Leave the fog state handler after disabling fog.

This commit is contained in:
Stefan Dösinger 2007-02-25 23:58:14 +01:00 committed by Alexandre Julliard
parent 7560c8e1d2
commit 38d961a749
1 changed files with 1 additions and 0 deletions

View File

@ -666,6 +666,7 @@ static void state_fog(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DCo
/* No fog? Disable it, and we're done :-) */
glDisable(GL_FOG);
checkGLcall("glDisable GL_FOG");
return;
}
tmpvalue.d = stateblock->renderState[WINED3DRS_FOGSTART];