projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mesa_7_6_branch'
[mesa.git]
/
progs
/
demos
/
paltex.c
diff --git
a/progs/demos/paltex.c
b/progs/demos/paltex.c
index aa9c0da36b7c1e80cb6bd4c33ea70e09468963f4..d0cbcfb5e9a3b130de18850a2228e601e59ee686 100644
(file)
--- a/
progs/demos/paltex.c
+++ b/
progs/demos/paltex.c
@@
-11,7
+11,7
@@
#ifdef _WIN32
#include <windows.h>
#endif
-#
define GL_GLEXT_PROTOTYPES
+#
include <GL/glew.h>
#include <GL/glut.h>
@@
-255,6
+255,7
@@
int main( int argc, char *argv[] )
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutCreateWindow(argv[0]);
+ glewInit();
Init();
(void) Init2; /* silence warning */