summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-28 14:51:40 -0600
committerBrian Paul <[email protected]>2008-05-28 14:51:40 -0600
commit9843c6420d88db0c43b831cf79a3d1872c636225 (patch)
treeecb7b4e3033dee93b1bd8f6eec66fd09da7af60b /src/egl/main/egldisplay.c
parentaa6e350bed8e6930bef761fb85ad524e5a4aa3a3 (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.c2
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;