progs/perf: also request a stencil buffer
authorBrian Paul <brianp@vmware.com>
Wed, 23 Sep 2009 20:04:25 +0000 (14:04 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Sep 2009 20:05:05 +0000 (14:05 -0600)
progs/perf/glmain.c

index a167be042efe2b3ed2a944399cbfa10a036a1a0c..22b404ede2d6c5fe7e95623f50dcd27e10027ca3 100644 (file)
@@ -253,7 +253,7 @@ main(int argc, char *argv[])
 {
    glutInit(&argc, argv);
    glutInitWindowSize(WinWidth, WinHeight);
-   glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
+   glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL);
    Win = glutCreateWindow(argv[0]);
    glewInit();
    glutReshapeFunc(Reshape);