projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e02d24
)
simple-client: setenv the EGL platform for simple client as well
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 13 May 2011 21:07:23 +0000
(17:07 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 16 May 2011 14:42:07 +0000
(10:42 -0400)
clients/simple-client.c
patch
|
blob
|
history
diff --git
a/clients/simple-client.c
b/clients/simple-client.c
index
e273fa2
..
ee66e92
100644
(file)
--- 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);