projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: prim.c demo, modified for GL_EXT_provoking_vertex
[mesa.git]
/
progs
/
tests
/
manytex.c
diff --git
a/progs/tests/manytex.c
b/progs/tests/manytex.c
index 83c86766571013bd0129cc278b885820e544dfbc..52e7e1de44a9f6e457bec43317ca82023ea0f99e 100644
(file)
--- a/
progs/tests/manytex.c
+++ b/
progs/tests/manytex.c
@@
-13,6
+13,7
@@
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/glut.h>
@@
-336,6
+337,7
@@
int main( int argc, char *argv[] )
glutInitWindowSize( WinWidth, WinHeight );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
Win = glutCreateWindow(argv[0]);
glutInitWindowSize( WinWidth, WinHeight );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
Win = glutCreateWindow(argv[0]);
+ glewInit();
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );