Skip to content

Commit

Permalink
whitefog changed to useFog
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 4, 2003
1 parent 3d90375 commit 215e999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/Src/rend_halo.c
Expand Up @@ -379,14 +379,14 @@ void H_SetupState(boolean dosetup)
{
if(dosetup)
{
if(whitefog) gl.Disable(DGL_FOG);
if(useFog) gl.Disable(DGL_FOG);
gl.Disable(DGL_DEPTH_WRITE);
gl.Disable(DGL_DEPTH_TEST);
gl.Func(DGL_BLENDING, DGL_SRC_ALPHA, DGL_ONE);
}
else
{
if(whitefog) gl.Enable(DGL_FOG);
if(useFog) gl.Enable(DGL_FOG);
gl.Enable(DGL_DEPTH_WRITE);
gl.Enable(DGL_DEPTH_TEST);
gl.Func(DGL_BLENDING, DGL_SRC_ALPHA, DGL_ONE_MINUS_SRC_ALPHA);
Expand Down

0 comments on commit 215e999

Please sign in to comment.