diff options
Diffstat (limited to 'video/out/gl_wayland.c')
-rw-r--r-- | video/out/gl_wayland.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c index 3307087a44..ecfa5b3298 100644 --- a/video/out/gl_wayland.c +++ b/video/out/gl_wayland.c @@ -89,8 +89,7 @@ static bool 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, - MPGL_VER_GET_MAJOR(ctx->requested_gl_version), + EGL_CONTEXT_MAJOR_VERSION_KHR, 3, EGL_NONE }; |