diff options
author | wm4 <wm4@nowhere> | 2015-05-14 13:07:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-14 13:07:00 +0200 |
commit | bad932e8ed4b5af75ad2a4619d2331ad1a530900 (patch) | |
tree | 822b38faaefb114a6c3b9190608ea8487ee68d6f /video/out/gl_wayland.c | |
parent | fa39dadb059bb81839b6e97e74e5b83b7c0a2a0f (diff) | |
download | mpv-bad932e8ed4b5af75ad2a4619d2331ad1a530900.tar.bz2 mpv-bad932e8ed4b5af75ad2a4619d2331ad1a530900.tar.xz |
vo_opengl: hardcode rquested GL version in backends
The requested version field didn't make much sense anymore, and was even
partially ignored by some backends.
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 }; |