summaryrefslogtreecommitdiff
path: root/progs/redbook
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-02-17 17:37:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-02-17 17:37:55 +0000
commit9ff74a0f15aec40a2213f71cf6f5809793574b77 (patch)
tree17291b31ce9c3e2d700c92504c003c161f983dca /progs/redbook
parent711e27fda27e4235b20a4cf73c2767c984ab2b81 (diff)
undo some debug changes mistakenly checked in earlier
Diffstat (limited to 'progs/redbook')
-rw-r--r--progs/redbook/fog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/progs/redbook/fog.c b/progs/redbook/fog.c
index 7d13109ed9..a2cd9ebaf8 100644
--- a/progs/redbook/fog.c
+++ b/progs/redbook/fog.c
@@ -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: