From: Brian Paul Date: Wed, 28 May 2008 19:03:59 +0000 (-0600) Subject: egl: pass args to _eglOpenDriver() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa6e350bed8e6930bef761fb85ad524e5a4aa3a3;p=mesa.git egl: pass args to _eglOpenDriver() --- diff --git a/src/egl/drivers/dri/egldri.c b/src/egl/drivers/dri/egldri.c index 677073fb3a0..35b6d0d3d10 100644 --- a/src/egl/drivers/dri/egldri.c +++ b/src/egl/drivers/dri/egldri.c @@ -82,7 +82,6 @@ _EGLDriver * _eglMain(_EGLDisplay *dpy, const char *args) { #if 1 - const char *displayString = (const char *) dpy->NativeDisplay; const int card = atoi(args); _EGLDriver *driver = NULL; char driverName[1000]; @@ -95,7 +94,7 @@ _eglMain(_EGLDisplay *dpy, const char *args) _eglLog(_EGL_DEBUG, "Driver name: %s\n", driverName); - driver = _eglOpenDriver(dpy, driverName); + driver = _eglOpenDriver(dpy, driverName, args); return driver;