From c42ac83c7c9d942649645d5985861ff59db155eb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 31 May 2014 21:56:45 +0200 Subject: [PATCH] gl_x11: remove workaround for PPC OSX 10.4 Added in 2010 with commit 4a8486f8 (svn commit 30994). I doubt anyone still uses X11 on OSX, and we probably don't support 10.4 either. --- video/out/gl_x11.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 78dfd8fbff..e5ded23fb4 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -65,13 +65,6 @@ static bool create_context_x11_old(struct MPGLContext *ctx) const char *glxstr = glXQueryExtensionsString(display, ctx->vo->x11->screen); mpgl_load_functions(gl, (void *)glXGetProcAddressARB, glxstr, vo->log); - if (!gl->GenPrograms && gl->GetString && - gl->version < MPGL_VER(3, 0) && - strstr(gl->GetString(GL_EXTENSIONS), "GL_ARB_vertex_program")) - { - MP_WARN(vo, "Broken glXGetProcAddress detected, trying workaround\n"); - mpgl_load_functions(gl, NULL, glxstr, vo->log); - } glx_ctx->context = new_context;