Mesa (gallium-mesa-7.4): egl: use the GLX wrapper by default.

Alan Hourihane alanh at kemper.freedesktop.org
Thu May 7 16:31:30 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: ab32cd256a7ef5f9eaf2a4871507ae2fc570226e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab32cd256a7ef5f9eaf2a4871507ae2fc570226e

Author: Alan Hourihane <alanh at vmware.com>
Date:   Thu May  7 17:31:16 2009 +0100

egl: use the GLX wrapper by default.

---

 src/egl/main/eglx.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/egl/main/eglx.c b/src/egl/main/eglx.c
index 5a42fd2..df21aa2 100644
--- a/src/egl/main/eglx.c
+++ b/src/egl/main/eglx.c
@@ -79,10 +79,7 @@ _xeglChooseDriver(_EGLDisplay *dpy)
 
    screen = DefaultScreen(dpy->Xdpy);
 
-   /* See if we can choose a DRI/DRM driver */
-   driverName = _eglChooseDRMDriver(screen);
-   if (driverName && !getenv("EGL_SOFTPIPE")) {
-      free((void *) driverName);
+   if (!getenv("EGL_SOFTPIPE")) {
       driverName = _eglstrdup(DefaultGLXDriver);
    }
    else {




More information about the mesa-commit mailing list