simple-client: setenv the EGL platform for simple client as well
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 13 May 2011 21:07:23 +0000 (17:07 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 16 May 2011 14:42:07 +0000 (10:42 -0400)
clients/simple-client.c

index e273fa2..ee66e92 100644 (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);