diff --git a/wayland.c b/wayland.c index 4420897..0040130 100644 --- a/wayland.c +++ b/wayland.c @@ -124,6 +124,9 @@ static void egl_init(struct client_state *state) { break; } + // Desktop GL? + eglBindAPI(EGL_OPENGL_API); + state->egl_context = eglCreateContext(state->egl_display, state->egl_config,