mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
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:
parent
8178b80748
commit
c42ac83c7c
@ -65,13 +65,6 @@ static bool create_context_x11_old(struct MPGLContext *ctx)
|
|||||||
const char *glxstr = glXQueryExtensionsString(display, ctx->vo->x11->screen);
|
const char *glxstr = glXQueryExtensionsString(display, ctx->vo->x11->screen);
|
||||||
|
|
||||||
mpgl_load_functions(gl, (void *)glXGetProcAddressARB, glxstr, vo->log);
|
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;
|
glx_ctx->context = new_context;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user