From 489f8bc86feea1af51d2e6c4d308f28d25141862 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Sep 2009 14:04:25 -0600 Subject: [PATCH] progs/perf: also request a stencil buffer --- progs/perf/glmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2