simple-client: setenv the EGL platform for simple client as well

This commit is contained in:
Kristian Høgsberg 2011-05-13 17:07:23 -04:00
parent 2e02d24cb3
commit ded9ff337b

View File

@ -104,6 +104,7 @@ 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);