diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-11-09 22:01:28 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2006-11-13 02:41:28 +0200 |
commit | 63444770ff30afeb134befed5bb3a5c28b7bc4e9 (patch) | |
tree | 78960dc41d66e8af83ec6f9a7a2c1a2415f427d4 /src | |
parent | 0411f68d71c75cda38ad46ad5c0f5cc3cda64464 (diff) |
[mach64] Prefer double-buffered visuals for GLX.
So that 3D apps apropriately fail in DRI...
Diffstat (limited to 'src')
-rw-r--r-- | src/atidri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atidri.c b/src/atidri.c index cd57874..83cb25f 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]; |