summaryrefslogtreecommitdiff
path: root/src/atidri.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-11-09 22:01:28 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2006-11-13 02:41:28 +0200
commit63444770ff30afeb134befed5bb3a5c28b7bc4e9 (patch)
tree78960dc41d66e8af83ec6f9a7a2c1a2415f427d4 /src/atidri.c
parent0411f68d71c75cda38ad46ad5c0f5cc3cda64464 (diff)
[mach64] Prefer double-buffered visuals for GLX.
So that 3D apps apropriately fail in DRI...
Diffstat (limited to 'src/atidri.c')
-rw-r--r--src/atidri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atidri.c b/src/atidri.c
index cd578748..83cb25f1 100644
--- a/src/atidri.c
+++ b/src/atidri.c
@@ -121,7 +121,7 @@ static Bool ATIInitVisualConfigs( ScreenPtr pScreen )
}
i = 0;
- for (db = 0; db <= 1; db++) {
+ for (db = 1; db >= 0; db--) {
for ( accum = 0 ; accum <= ATI_USE_ACCUM ; accum++ ) {
for ( stencil = 0 ; stencil <= ATI_USE_STENCIL ; stencil++ ) {
pATIConfigPtrs[i] = &pATIConfigs[i];
@@ -202,7 +202,7 @@ static Bool ATIInitVisualConfigs( ScreenPtr pScreen )
}
i = 0;
- for (db = 0; db <= 1; db++) {
+ for (db = 1; db >= 0; db--) {
for ( accum = 0 ; accum <= ATI_USE_ACCUM ; accum++ ) {
for ( stencil = 0 ; stencil <= ATI_USE_STENCIL ; stencil++ ) {
pATIConfigPtrs[i] = &pATIConfigs[i];