diff options
author | Brian Paul <brianp@vmware.com> | 2017-07-07 11:09:39 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2017-07-11 16:02:32 -0600 |
commit | 96ce49045687320d55fd94117870071a14897b08 (patch) | |
tree | b296cacedd242a6fc6f8cc4ca719b33869262db4 | |
parent | 1c650143812e24549616eca6b6296e7410e35e5a (diff) |
utils/glx: request depth/stencil buffer visual for windows, contexts
So we can run glx tests with depth testing, for example.
-rw-r--r-- | tests/util/piglit-glx-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/util/piglit-glx-util.c b/tests/util/piglit-glx-util.c index 3042dc880..95e33aed9 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 }; |