summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a167be042ef..22b404ede2d 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);