summaryrefslogtreecommitdiff
path: root/hw/xgl
diff options
context:
space:
mode:
authorDavid Reveman <c99drn@cs.umu.se>2005-05-02 00:33:52 +0000
committerDavid Reveman <c99drn@cs.umu.se>2005-05-02 00:33:52 +0000
commitbc977945a53206d70ef9817d6ede4137eb5f7e3c (patch)
tree1f0a5cd53894767738d185c8aaadd97145a1fc65 /hw/xgl
parent5b4462ed9bbb17212dd57617cb7e837142b6270a (diff)
Set stencil size for Xgl GLX visuals
Diffstat (limited to 'hw/xgl')
-rw-r--r--hw/xgl/xglglx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xgl/xglglx.c b/hw/xgl/xglglx.c
index 6c662637e..22e8cc09c 100644
--- a/hw/xgl/xglglx.c
+++ b/hw/xgl/xglglx.c
@@ -3503,6 +3503,7 @@ xglInitVisualConfigs (ScreenPtr pScreen)
pConfig[i].doubleBuffer = TRUE;
pConfig[i].depthSize = format->depth_size;
+ pConfig[i].stencilSize = format->stencil_size;
pConfig[i].stereo = FALSE;
if (depth == 16)