diff options
Diffstat (limited to 'progs/tests/stencil_twoside.c')
-rw-r--r-- | progs/tests/stencil_twoside.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/tests/stencil_twoside.c b/progs/tests/stencil_twoside.c index 8826c46fc2..1e18ca6b5e 100644 --- a/progs/tests/stencil_twoside.c +++ b/progs/tests/stencil_twoside.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <stdlib.h> +#include <GL/glew.h> #include <GL/glut.h> static int use20syntax = 1; @@ -288,6 +289,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize( Width, Height ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL ); glutCreateWindow( "GL_ATI_separate_stencil test" ); + glewInit(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); |