diff options
author | Brian Paul <[email protected]> | 2008-05-28 13:03:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-28 13:03:59 -0600 |
commit | aa6e350bed8e6930bef761fb85ad524e5a4aa3a3 (patch) | |
tree | 75b3dea85d4312eb9736e92d1281c21cf7f71705 | |
parent | 0c8908c411c434eda318b41b4f2a370a1e794831 (diff) |
egl: pass args to _eglOpenDriver()
-rw-r--r-- | src/egl/drivers/dri/egldri.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |