summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-31 21:56:45 +0200
committerwm4 <wm4@nowhere>2014-05-31 21:56:45 +0200
commitc42ac83c7c9d942649645d5985861ff59db155eb (patch)
treead20f569e14205530d59511dc5eec78ffaa4beee /video
parent8178b80748e79b2aac9cb712a82c949cb34b1e6d (diff)
downloadmpv-c42ac83c7c9d942649645d5985861ff59db155eb.tar.bz2
mpv-c42ac83c7c9d942649645d5985861ff59db155eb.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_x11.c7
1 files changed, 0 insertions, 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;