simple-client: setenv the EGL platform for simple client as well
This commit is contained in:
parent
2e02d24cb3
commit
ded9ff337b
@ -104,6 +104,7 @@ init_egl(struct display *display)
|
|||||||
EGLint major, minor, n;
|
EGLint major, minor, n;
|
||||||
EGLBoolean ret;
|
EGLBoolean ret;
|
||||||
|
|
||||||
|
setenv("EGL_PLATFORM", "wayland", 1);
|
||||||
display->egl.dpy = eglGetDisplay(display->display);
|
display->egl.dpy = eglGetDisplay(display->display);
|
||||||
assert(display->egl.dpy);
|
assert(display->egl.dpy);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user