summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Fufutos <fufutos610@hotmail.com>2006-04-15 22:47:46 +0300
committerLuc Verhaegen <libv@skynet.be>2006-04-16 16:45:56 +0200
commitd9cca7244b524da90fde29f6269f20dfc1f90ff5 (patch)
tree4ccdfab2802f052afa5008646206a12025b4d7f1
parentdd2cdd7bcd84334042e2f4db84d268792f4d9802 (diff)
[PATCH] Revert accidental change to list double-buffered visuals first.
-rw-r--r--src/atidri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atidri.c b/src/atidri.c
index 2c15483..90feb12 100644
--- a/src/atidri.c
+++ b/src/atidri.c
@@ -120,7 +120,7 @@ static Bool ATIInitVisualConfigs( ScreenPtr pScreen )
}
i = 0;
- for (db = 1; db >= 0; db--) {
+ for (db = 0; db <= 1; db++) {
for ( accum = 0 ; accum <= ATI_USE_ACCUM ; accum++ ) {
for ( stencil = 0 ; stencil <= ATI_USE_STENCIL ; stencil++ ) {
pATIConfigPtrs[i] = &pATIConfigs[i];
@@ -201,7 +201,7 @@ static Bool ATIInitVisualConfigs( ScreenPtr pScreen )
}
i = 0;
- for (db = 1; db >= 0; db--) {
+ for (db = 0; db <= 1; db++) {
for ( accum = 0 ; accum <= ATI_USE_ACCUM ; accum++ ) {
for ( stencil = 0 ; stencil <= ATI_USE_STENCIL ; stencil++ ) {
pATIConfigPtrs[i] = &pATIConfigs[i];