Remove egl display type setenv hack
No longer needed with mesa 7.12-devel egl display autodetection.
This commit is contained in:
committed by
Kristian Høgsberg
parent
48c4ea2dbd
commit
91eacca38b
@@ -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);
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user