summaryrefslogtreecommitdiffstats
path: root/progs/redbook/shadowmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/shadowmap.c')
-rw-r--r--progs/redbook/shadowmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/shadowmap.c b/progs/redbook/shadowmap.c
index 3fe1d1e8df2..f37191d9ff3 100644
--- a/progs/redbook/shadowmap.c
+++ b/progs/redbook/shadowmap.c
@@ -40,11 +40,10 @@
* OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
*/
-#define GL_GLEXT_PROTOTYPES
-
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
+#include <GL/glew.h>
#include <GL/glut.h>
/*#include "helpers.h"*/
@@ -338,6 +337,7 @@ main( int argc, char** argv )
glutInitWindowSize( 512, 512 );
glutInitWindowPosition( 100, 100 );
glutCreateWindow( argv[0] );
+ glewInit();
init();