summaryrefslogtreecommitdiffstats
path: root/progs/perf/glmain.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-23 14:04:25 -0600
committerBrian Paul <[email protected]>2009-09-23 14:05:05 -0600
commit489f8bc86feea1af51d2e6c4d308f28d25141862 (patch)
tree022644cb394aafeaa68e93afa5bbe57d7a38281c /progs/perf/glmain.c
parent8abe77a75a681637cb00017711f5009601bcd348 (diff)
progs/perf: also request a stencil buffer
Diffstat (limited to 'progs/perf/glmain.c')
-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);