Stefan Dösinger : wined3d: Leave the fog state handler after disabling fog.
Module: wine Branch: master Commit: 38d961a7499b341f930e667e6b738b8ed3c431d7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=38d961a7499b341f930e667e6b... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Sun Feb 25 23:58:14 2007 +0100 wined3d: Leave the fog state handler after disabling fog. --- dlls/wined3d/state.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 9e5aeb7..efdd05d 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -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];
participants (1)
-
Alexandre Julliard