summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-21 08:01:05 -0700
committerBrian Paul <[email protected]>2012-02-24 08:03:13 -0700
commit074637bf991c1f0fbe7d63df75427975af711d7c (patch)
tree126199084d5d0a70c08a688b25e0c0836930bfbd /src
parent5f60a00743f6e03c3b90fa3a95e448e53bc150e1 (diff)
xlib: remove STENCIL_BITS
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 2ff9e7ea6b4..fffcae48982 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -428,7 +428,7 @@ create_glx_visual( Display *dpy, XVisualInfo *visinfo )
GL_TRUE, /* double */
GL_FALSE, /* stereo */
zBits,
- STENCIL_BITS,
+ 8, /* stencil bits */
accBits, /* r */
accBits, /* g */
accBits, /* b */
@@ -1174,7 +1174,7 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
if (vis->depth <= 8)
return NULL;
depth_size = default_depth_bits();
- stencil_size = STENCIL_BITS;
+ stencil_size = 8;
/* XXX accum??? */
}
}
@@ -1215,7 +1215,7 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
/* we only support one size of stencil and accum buffers. */
if (stencil_size > 0)
- stencil_size = STENCIL_BITS;
+ stencil_size = 8;
if (accumRedSize > 0 || accumGreenSize > 0 || accumBlueSize > 0 ||
accumAlphaSize > 0) {
accumRedSize =