Remove egl display type setenv hack

No longer needed with mesa 7.12-devel egl display autodetection.
This commit is contained in:
Benjamin Franzke
2011-08-09 14:33:45 +02:00
committed by Kristian Høgsberg
parent 48c4ea2dbd
commit 91eacca38b
7 changed files with 0 additions and 7 deletions
-1
View File
@@ -106,7 +106,6 @@ init_egl(struct display *display)
EGLint major, minor, n;
EGLBoolean ret;
setenv("EGL_PLATFORM", "wayland", 1);
display->egl.dpy = eglGetDisplay(display->display);
assert(display->egl.dpy);
-1
View File
@@ -1852,7 +1852,6 @@ init_egl(struct display *d)
EGL_NONE
};
setenv("EGL_PLATFORM", "wayland", 1);
d->dpy = eglGetDisplay(d->display);
if (!eglInitialize(d->dpy, &major, &minor)) {
fprintf(stderr, "failed to initialize display\n");