From 72ded5ccef57b31984156101faadde2080c74c1f Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Oct 2015 16:09:58 +0200 Subject: 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. --- video/out/opengl/wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }; -- cgit v1.2.3