undo some debug changes mistakenly checked in earlier
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 17 Feb 2002 17:37:55 +0000 (17:37 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 17 Feb 2002 17:37:55 +0000 (17:37 +0000)
progs/redbook/fog.c

index 7d13109ed9bed24cae3c7357e0a2d5b9326398ae..a2cd9ebaf89079e40ec28789f90388141f816f7c 100644 (file)
@@ -60,10 +60,9 @@ selectFog(int mode)
         glFogf(GL_FOG_START, 1.0);
         glFogf(GL_FOG_END, 5.0);
        /* falls through */
-        mode = 0xfff;
     case GL_EXP2:
     case GL_EXP:
-       glFogiv(0xf/*GL_FOG_MODE*/, (int *) &mode);
+       glFogiv(GL_FOG_MODE, (int *) &mode);
        glutPostRedisplay();
        break;
     case 0: