aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl/wayland.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-10-23 16:09:58 +0200
committerGravatar wm4 <wm4@nowhere>2015-10-23 16:09:58 +0200
commit72ded5ccef57b31984156101faadde2080c74c1f (patch)
treeb3fb53a6994e5d65b0695798555eff2994f584a0 /video/out/opengl/wayland.c
parent0344abd67a98b0eada612d9d9f37f23a515532e5 (diff)
vo_opengl: wayland: use a more standard symbol
They're the same, but EGL_CONTEXT_MAJOR_VERSION_KHR technically is an extension, while EGL_CONTEXT_CLIENT_VERSION is the standardized alias.
Diffstat (limited to 'video/out/opengl/wayland.c')
-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
};