mirror of https://github.com/mpv-player/mpv
x11: always use glXGetProcAddressARB()
glXGetProcAddress() is outdated, and as far as I know doesn't give all the guarantees the "new" ARB function gives. Probably doesn't matter too much, because until now it always appeared to work. On the other hand, since this function is (bogusly) used only on the gl3 code path, it could have happened that users hit this, and just reverted to vo_opengl_old instead.
This commit is contained in:
parent
aa8823c2d2
commit
5f398831d2
|
@ -129,7 +129,7 @@ static bool create_context_x11_gl3(struct MPGLContext *ctx, int vo_flags,
|
|||
|
||||
glx_ctx->context = context;
|
||||
|
||||
mpgl_load_functions(ctx->gl, (void *)glXGetProcAddress, glxstr, vo->log);
|
||||
mpgl_load_functions(ctx->gl, (void *)glXGetProcAddressARB, glxstr, vo->log);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue