projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
711e27f
)
undo some debug changes mistakenly checked in earlier
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 17 Feb 2002 17:37:55 +0000
(17:37 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 17 Feb 2002 17:37:55 +0000
(17:37 +0000)
progs/redbook/fog.c
patch
|
blob
|
history
diff --git
a/progs/redbook/fog.c
b/progs/redbook/fog.c
index 7d13109ed9bed24cae3c7357e0a2d5b9326398ae..a2cd9ebaf89079e40ec28789f90388141f816f7c 100644
(file)
--- 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: