mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
simple-client: setenv the EGL platform for simple client as well
This commit is contained in:
parent
2e02d24cb3
commit
ded9ff337b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue