projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d079fd
)
fix some weirdness accidentally checked in in the past
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 17 Jan 2005 16:14:46 +0000
(16:14 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 17 Jan 2005 16:14:46 +0000
(16:14 +0000)
progs/redbook/fog.c
patch
|
blob
|
history
diff --git
a/progs/redbook/fog.c
b/progs/redbook/fog.c
index
a2cd9eb
..
14c7700
100644
(file)
--- a/
progs/redbook/fog.c
+++ b/
progs/redbook/fog.c
@@
-62,7
+62,7
@@
selectFog(int mode)
/* falls through */
case GL_EXP2:
case GL_EXP:
- glFogi
v(GL_FOG_MODE, (int *) &
mode);
+ glFogi
(GL_FOG_MODE,
mode);
glutPostRedisplay();
break;
case 0:
@@
-190,7
+190,7
@@
main(int argc, char **argv)
glutDisplayFunc(display);
glutCreateMenu(selectFog);
glutAddMenuEntry("Fog EXP", GL_EXP);
- glutAddMenuEntry("Fog EXP2",
/*GL_EXP2*/ 0xffff
);
+ glutAddMenuEntry("Fog EXP2",
GL_EXP2
);
glutAddMenuEntry("Fog LINEAR", GL_LINEAR);
glutAddMenuEntry("Quit", 0);
glutAttachMenu(GLUT_RIGHT_BUTTON);