diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-15 18:04:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-15 18:04:39 -0700 |
commit | c6e63f3cc235b2d7b06664a493584671a2493045 (patch) | |
tree | 9f254c44ea3fc2c999ed78312a775495a82721f2 /progs/redbook/pointp.c | |
parent | bd3829b5f5b204d95d9ac3e5538ca11d0904ba7d (diff) | |
download | external_mesa3d-c6e63f3cc235b2d7b06664a493584671a2493045.zip external_mesa3d-c6e63f3cc235b2d7b06664a493584671a2493045.tar.gz external_mesa3d-c6e63f3cc235b2d7b06664a493584671a2493045.tar.bz2 |
progs/redbook: use glew
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 ed62fa1..b273623 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); |