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

dev
Kristian Høgsberg 14 years ago
parent 2e02d24cb3
commit ded9ff337b
  1. 1
      clients/simple-client.c

@ -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);

Loading…
Cancel
Save