summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-04-04 10:46:45 -0400
committerKristian Høgsberg <krh@redhat.com>2008-04-04 10:47:46 -0400
commitec17900f52bbd25d07566834756e5c7e832e0463 (patch)
treea8b513e9334cbb81d0cc6576b3a5380318f0367b /GL
parent16a8ce75585ea360c39e0ffce4f7bb26a359b754 (diff)
Convert __DRIconfigs after we've made sure createNewScreen succeeded.
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxdri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index ffa9a0b76..9cd0738a0 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -1117,13 +1117,13 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
&driConfigs,
screen);
- screen->base.fbconfigs = glxConvertConfigs(screen->core, driConfigs);
-
if (screen->driScreen == NULL) {
LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed");
goto handle_error;
}
+ screen->base.fbconfigs = glxConvertConfigs(screen->core, driConfigs);
+
initializeExtensions(screen);
DRIGetTexOffsetFuncs(pScreen, &screen->texOffsetStart,