diff options
author | Brian Paul <[email protected]> | 2008-05-28 14:51:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-28 14:51:40 -0600 |
commit | 9843c6420d88db0c43b831cf79a3d1872c636225 (patch) | |
tree | ecb7b4e3033dee93b1bd8f6eec66fd09da7af60b /src/egl/main/egldisplay.c | |
parent | aa6e350bed8e6930bef761fb85ad524e5a4aa3a3 (diff) |
egl: bring card->driver lookup code into egldriver.c
Diffstat (limited to 'src/egl/main/egldisplay.c')
-rw-r--r-- | src/egl/main/egldisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index b2d30d42749..8fd29b84216 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -35,7 +35,7 @@ _eglNewDisplay(NativeDisplayType nativeDisplay) dpy->Xdpy = (Display *) nativeDisplay; #endif - dpy->DriverName = _eglstrdup(_eglChooseDriver(dpy)); + dpy->DriverName = _eglChooseDriver(dpy); if (!dpy->DriverName) { free(dpy); return NULL; |