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.
This commit is contained in:
wm4 2014-05-31 21:56:45 +02:00
parent 8178b80748
commit c42ac83c7c
1 changed files with 0 additions and 7 deletions

View File

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