From bad932e8ed4b5af75ad2a4619d2331ad1a530900 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 May 2015 13:07:00 +0200 Subject: 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. --- video/out/gl_x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/out/gl_x11.c') 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); } -- cgit v1.2.3