summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-28 13:03:59 -0600
committerBrian Paul <[email protected]>2008-05-28 13:03:59 -0600
commitaa6e350bed8e6930bef761fb85ad524e5a4aa3a3 (patch)
tree75b3dea85d4312eb9736e92d1281c21cf7f71705 /src/egl
parent0c8908c411c434eda318b41b4f2a370a1e794831 (diff)
egl: pass args to _eglOpenDriver()
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri/egldri.c3
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;