summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/wayland.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/wayland.c b/video/out/opengl/wayland.c
index d0958e96a0..215084672d 100644
--- a/video/out/opengl/wayland.c
+++ b/video/out/opengl/wayland.c
@@ -89,7 +89,8 @@ static int egl_create_context(struct vo_wayland_state *wl,
MP_VERBOSE(wl, "EGL version %d.%d\n", major, minor);
EGLint context_attribs[] = {
- EGL_CONTEXT_MAJOR_VERSION_KHR, 3,
+ // aka EGL_CONTEXT_MAJOR_VERSION_KHR
+ EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE
};