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_5_branch'
[mesa.git]
/
progs
/
tests
/
texline.c
diff --git
a/progs/tests/texline.c
b/progs/tests/texline.c
index 76dfccd9b1ac5e4b0a8557417b796191722614ce..1803832b47e6ddadc75d9dd44080def92042856d 100644
(file)
--- a/
progs/tests/texline.c
+++ b/
progs/tests/texline.c
@@
-9,6
+9,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#include <GL/glew.h>
#include <GL/glut.h>
#include "../util/readtex.c" /* I know, this is a hack. */
#include <GL/glut.h>
#include "../util/readtex.c" /* I know, this is a hack. */
@@
-263,6
+264,7
@@
int main( int argc, char *argv[] )
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutCreateWindow(argv[0] );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutCreateWindow(argv[0] );
+ glewInit();
Init(argc, argv);
Init(argc, argv);