summaryrefslogtreecommitdiff
path: root/src/r128_dri.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-11-11 11:05:42 +0000
committerEric Anholt <anholt@freebsd.org>2005-11-11 11:05:42 +0000
commit00b8f6ccfbb5163c47e9def0e4ecc6ac7be7e8af (patch)
treefb8aeb87a54c8e82b6d004f8a8f0e668a9515c02 /src/r128_dri.c
parent33326847ccc9cf4cd6a23a257e5392e348e6dd22 (diff)
Bug #1028: Don't (incorrectly) mark the 24/8 z/stencil case as slow, which
resulted in whining at runtime about the visual not being supported.
Diffstat (limited to 'src/r128_dri.c')
-rw-r--r--src/r128_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_dri.c b/src/r128_dri.c
index 41e238e8..14b60664 100644
--- a/src/r128_dri.c
+++ b/src/r128_dri.c
@@ -247,7 +247,7 @@ static Bool R128InitVisualConfigs(ScreenPtr pScreen)
}
pConfigs[i].auxBuffers = 0;
pConfigs[i].level = 0;
- if (accum || stencil) {
+ if (accum) {
pConfigs[i].visualRating = GLX_SLOW_CONFIG;
} else {
pConfigs[i].visualRating = GLX_NONE;