From c6e63f3cc235b2d7b06664a493584671a2493045 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 15 Feb 2010 18:04:00 -0700 Subject: progs/redbook: use glew --- progs/redbook/pointp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/redbook/pointp.c') diff --git a/progs/redbook/pointp.c b/progs/redbook/pointp.c index ed62fa1771..b273623d85 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 #include #include #include @@ -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); -- cgit v1.2.3