summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-05-13 17:07:23 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-05-16 10:42:07 -0400
commitded9ff337b0444d5beb4a7f83f9222892a2506a8 (patch)
tree7d262cd2d7d8e86bcdfb325e8e1da9aa911fb4d6
parent2e02d24cb3f6fb920001111e8313ae529907a6f2 (diff)
simple-client: setenv the EGL platform for simple client as well
-rw-r--r--clients/simple-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/simple-client.c b/clients/simple-client.c
index e273fa22..ee66e92c 100644
--- a/clients/simple-client.c
+++ b/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);