summaryrefslogtreecommitdiffstats
path: root/video/out/gl_x11egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_x11egl.c')
-rw-r--r--video/out/gl_x11egl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_x11egl.c b/video/out/gl_x11egl.c
index bfb88c3110..9db0bee0a9 100644
--- a/video/out/gl_x11egl.c
+++ b/video/out/gl_x11egl.c
@@ -67,8 +67,8 @@ static bool create_context_egl(MPGLContext *ctx, EGLConfig config,
struct priv *p = ctx->priv;
EGLint context_attributes[] = {
- EGL_CONTEXT_CLIENT_VERSION, // aka EGL_CONTEXT_MAJOR_VERSION_KHR
- es ? 2 : MPGL_VER_GET_MAJOR(ctx->requested_gl_version),
+ // aka EGL_CONTEXT_MAJOR_VERSION_KHR
+ EGL_CONTEXT_CLIENT_VERSION, es ? 2 : 3,
EGL_NONE
};