diff options
author | Alan Hourihane <[email protected]> | 2008-09-26 12:18:59 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-09-26 12:18:59 +0100 |
commit | cc6bdf49ca19c08d0c7134d2cd881b9c166cdc8a (patch) | |
tree | 476f2476a7b130a3ff00ea4bc5b88d4900dcc18d /src | |
parent | 192f45606a7c388862112b8d53a5983fb125fee3 (diff) |
egl: switch to egl_glx.so as the default EGL driver for X.
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/main/eglx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/egl/main/eglx.c b/src/egl/main/eglx.c index 1bba149f702..50acc3a24f9 100644 --- a/src/egl/main/eglx.c +++ b/src/egl/main/eglx.c @@ -44,7 +44,7 @@ #include "eglx.h" -static const char *DefaultDRIDriver = "egl_xdri"; +static const char *DefaultGLXDriver = "egl_glx"; static const char *DefaultSoftDriver = "egl_softpipe"; @@ -52,7 +52,7 @@ static const char *DefaultSoftDriver = "egl_softpipe"; * Given an X Display ptr (at dpy->Xdpy) try to determine the appropriate * device driver. Return its name. * - * This boils down to whether to use the egl_xdri.so driver which will + * This boils down to whether to use the egl_glx.so driver which will * load a DRI driver or the egl_softpipe.so driver that'll do software * rendering on Xlib. */ @@ -82,9 +82,8 @@ _xeglChooseDriver(_EGLDisplay *dpy) /* See if we can choose a DRI/DRM driver */ driverName = _eglChooseDRMDriver(screen); if (driverName) { - /* DRI is available */ free((void *) driverName); - driverName = _eglstrdup(DefaultDRIDriver); + driverName = _eglstrdup(DefaultGLXDriver); } else { driverName = _eglstrdup(DefaultSoftDriver); |