From: Brian Paul Date: Wed, 23 Sep 2009 20:04:25 +0000 (-0600) Subject: progs/perf: also request a stencil buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=489f8bc86feea1af51d2e6c4d308f28d25141862;p=mesa.git progs/perf: also request a stencil buffer --- 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);