diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-04-04 10:46:45 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-04-04 11:47:09 -0400 |
commit | ff886a66de637fce7f1669269e583434c419db95 (patch) | |
tree | ac3f37ec989bf2fc4e2d42800a26fa584a2312cc | |
parent | d1dd7749106798b172a61ff2e4fd818d5b207f51 (diff) |
Convert __DRIconfigs after we've made sure createNewScreen succeeded.
(cherry picked from commit ec17900f52bbd25d07566834756e5c7e832e0463)
-rw-r--r-- | GL/glx/glxdri.c | 4 |
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, |