1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00

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.
This commit is contained in:
wm4 2015-10-23 16:09:58 +02:00
parent 0344abd67a
commit 72ded5ccef

View File

@ -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
};