summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-20 13:00:17 -0700
committerBrian Paul <[email protected]>2012-02-24 08:03:13 -0700
commit5f60a00743f6e03c3b90fa3a95e448e53bc150e1 (patch)
treef099d8019af8b52ace7321cc1ed1b015f7b33612 /src
parent630ab0d27ba693602205479ea481c5b2a9e26346 (diff)
st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS
Remove some Mesa/swrast stuff.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c
index c9cf6c9bb86..9a487dcc27b 100644
--- a/src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/src/gallium/state_trackers/glx/xlib/glx_api.c
@@ -277,7 +277,7 @@ default_depth_bits(void)
if (zEnv)
zBits = atoi(zEnv);
else
- zBits = DEFAULT_SOFTWARE_DEPTH_BITS;
+ zBits = 24;
return zBits;
}
@@ -326,7 +326,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 */
@@ -977,7 +977,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 ||