summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-09-17 21:30:38 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-09-17 21:30:38 +0000
commitb26f6666dce97427e7032984aec3662e35cb2dc6 (patch)
treea79046e8c37610906520f76025f57b01f12a8eaf
parente904a31f0adbcc7595777e373bcbaf09d2fee597 (diff)
Fix fb config creation to match fb configs created by DRI drivers built
outside the monolithic Xorg tree.
-rw-r--r--src/savage_dri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index dc8a395..ab874f7 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -188,11 +188,11 @@ static Bool SAVAGEInitVisualConfigs( ScreenPtr pScreen )
pConfigs[i].auxBuffers = 0;
pConfigs[i].level = 0;
if ( accum || stencil ) {
- pConfigs[i].visualRating = GLX_SLOW_VISUAL_EXT;
+ pConfigs[i].visualRating = GLX_SLOW_CONFIG;
} else {
- pConfigs[i].visualRating = GLX_NONE_EXT;
+ pConfigs[i].visualRating = GLX_NONE;
}
- pConfigs[i].transparentPixel = 0;
+ pConfigs[i].transparentPixel = GLX_NONE;
pConfigs[i].transparentRed = 0;
pConfigs[i].transparentGreen = 0;
pConfigs[i].transparentBlue = 0;