projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: Make the intel xorg winsys start up with any Intel chipset.
[mesa.git]
/
progs
/
tests
/
fillrate.c
diff --git
a/progs/tests/fillrate.c
b/progs/tests/fillrate.c
index 8fe636c364be9ce9ec68f4387369c99bbc717887..1e58df281e10144cd07ee1868349962d49e1c70f 100644
(file)
--- a/
progs/tests/fillrate.c
+++ b/
progs/tests/fillrate.c
@@
-6,10
+6,10
@@
*/
*/
-#define GL_GLEXT_PROTOTYPES
#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 "readtex.h"
#include <GL/glut.h>
#include "readtex.h"
@@
-194,6
+194,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(Draw);
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutDisplayFunc(Draw);