summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];