diff options
author | wm4 <wm4@nowhere> | 2015-01-07 21:13:26 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-07 21:13:26 +0100 |
commit | 5f398831d2aac9f65bc3499101f529fa51eebdf7 (patch) | |
tree | 9c578a1bb7eeb46f7faf04ac715a8f3b75400ad5 /video | |
parent | aa8823c2d22f9b703ba309ba23a32ed6b326fc1c (diff) | |
download | mpv-5f398831d2aac9f65bc3499101f529fa51eebdf7.tar.bz2 mpv-5f398831d2aac9f65bc3499101f529fa51eebdf7.tar.xz |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 6f8e47b6f2..b99f5ccc0a 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -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; } |