summaryrefslogtreecommitdiffstats
path: root/progs/demos/fogcoord.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/fogcoord.c')
-rw-r--r--progs/demos/fogcoord.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/progs/demos/fogcoord.c b/progs/demos/fogcoord.c
index 6f50993c98f..336aa580755 100644
--- a/progs/demos/fogcoord.c
+++ b/progs/demos/fogcoord.c
@@ -15,8 +15,6 @@
#define DEPTH 5.0f
-static PFNGLFOGCOORDPOINTEREXTPROC glFogCoordPointer_ext;
-
static GLfloat camz;
static GLint fogMode;
@@ -406,8 +404,8 @@ Init(void)
int
main( int argc, char *argv[] )
{
- glutInit( &argc, argv );
glutInitWindowSize( 600, 600 );
+ glutInit( &argc, argv );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutCreateWindow(argv[0]);
glewInit();