[Piglit] [PATCH 1/3] utils/glx: request depth/stencil buffer visual for windows, contexts
Brian Paul
brianp at vmware.com
Fri Jul 7 18:02:44 UTC 2017
So we can run glx tests with depth testing, for example.
---
tests/util/piglit-glx-util.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-glx-util.c b/tests/util/piglit-glx-util.c
index 3042dc8..95e33ae 100644
--- a/tests/util/piglit-glx-util.c
+++ b/tests/util/piglit-glx-util.c
@@ -58,6 +58,8 @@ piglit_get_glx_visual(Display *dpy)
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
+ GLX_DEPTH_SIZE, 1,
+ GLX_STENCIL_SIZE, 1,
GLX_DOUBLEBUFFER,
None
};
--
1.9.1
More information about the Piglit
mailing list