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_x11.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_x11.c')
-rw-r--r-- | video/out/gl_x11.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 55099fb797..eeaa01f94c 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -242,10 +242,9 @@ static bool config_window_x11(struct MPGLContext *ctx, int flags) vo_x11_config_vo_window(vo, glx_ctx->vinfo, flags | VOFLAG_HIDDEN, "gl"); - int gl_version = ctx->requested_gl_version; bool success = false; if (!(flags & VOFLAG_GLES)) { - success = create_context_x11_gl3(ctx, flags, gl_version, false); + success = create_context_x11_gl3(ctx, flags, 300, false); if (!success) success = create_context_x11_old(ctx); } |