diff options
Diffstat (limited to 'progs/redbook/pointp.c')
-rw-r--r-- | progs/redbook/pointp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/pointp.c b/progs/redbook/pointp.c index ed62fa1771b..b273623d856 100644 --- a/progs/redbook/pointp.c +++ b/progs/redbook/pointp.c @@ -60,8 +60,7 @@ * will not get less than 2.0, nor greater than GL_POINT_SIZE_MAX. */ -#define GL_GLEXT_PROTOTYPES - +#include <GL/glew.h> #include <GL/glut.h> #include <stdlib.h> #include <stdio.h> @@ -170,6 +169,7 @@ int main(int argc, char** argv) glutInitWindowSize (500, 500); glutInitWindowPosition (100, 100); glutCreateWindow (argv[0]); + glewInit(); init (); glutDisplayFunc (display); glutReshapeFunc (reshape); |