diff options
author | Brian Paul <[email protected]> | 2005-01-17 16:14:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-01-17 16:14:46 +0000 |
commit | 730fabd67ab86c6ab13b4b66de3f640a172e8e76 (patch) | |
tree | cc65b699313651943387b5e5b0ee6f93af6b1f6e /progs | |
parent | 7d079fd7802763efd8c2d8856117b5df0b3a14e4 (diff) |
fix some weirdness accidentally checked in in the past
Diffstat (limited to 'progs')
-rw-r--r-- | progs/redbook/fog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/fog.c b/progs/redbook/fog.c index a2cd9ebaf89..14c7700eccf 100644 --- 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: - glFogiv(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); |