summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/perf/glmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/perf/glmain.c b/progs/perf/glmain.c
index a167be042e..22b404ede2 100644
--- a/progs/perf/glmain.c
+++ b/progs/perf/glmain.c
@@ -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);