diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2009-02-02 02:13:07 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2009-02-02 02:13:07 +0100 |
commit | 59edbc70cd1042a884e7d153ba547c2f7f87318d (patch) | |
tree | c5764fc515f31ab8017d63b476c8ec1178d41d96 /progs/demos/gloss.c | |
parent | 4035e0f8989754ee7d31212e69d6461f1bbff008 (diff) | |
parent | 1c90cdd878e9d10e1f6ac619d5d0c3f5151fcb2b (diff) |
Merge branch 'gallium-0.2' of git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
Diffstat (limited to 'progs/demos/gloss.c')
-rw-r--r-- | progs/demos/gloss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c index 9974f0dab2..b2126e3267 100644 --- a/progs/demos/gloss.c +++ b/progs/demos/gloss.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <math.h> #include <string.h> +#include <GL/glew.h> #include <GL/glut.h> #include "readtex.h" @@ -438,6 +439,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize(WinWidth, WinHeight); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ); glutCreateWindow(argv[0] ); + glewInit(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); |