projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs/tests: compile with SCons and glew
[mesa.git]
/
progs
/
tests
/
fbotest1.c
diff --git
a/progs/tests/fbotest1.c
b/progs/tests/fbotest1.c
index ab2757c3c3d7ced2fd796c7b54573a5c0d477950..8dac21494e6b00da9b243d15e2244ecda659dea2 100644
(file)
--- a/
progs/tests/fbotest1.c
+++ b/
progs/tests/fbotest1.c
@@
-6,11
+6,11
@@
*/
*/
-#define GL_GLEXT_PROTOTYPES
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#include <GL/glew.h>
#include <GL/glut.h>
static int Win;
#include <GL/glut.h>
static int Win;
@@
-202,6
+202,7
@@
main( int argc, char *argv[] )
glutInitWindowSize(Width, Height);
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
Win = glutCreateWindow(argv[0]);
glutInitWindowSize(Width, Height);
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
Win = glutCreateWindow(argv[0]);
+ glewInit();
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );