From 6d7eb8346ac19f7106ba7416d137ca45d57bb7e7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Jan 2015 21:13:26 +0100 Subject: 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. --- video/out/gl_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 5fe43e54f7..2bc567ccae 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -122,7 +122,7 @@ static bool create_context_x11_gl3(struct MPGLContext *ctx, bool debug) glx_ctx->context = context; - mpgl_load_functions(ctx->gl, (void *)glXGetProcAddress, glxstr, vo->log); + mpgl_load_functions(ctx->gl, (void *)glXGetProcAddressARB, glxstr, vo->log); if (!glXIsDirect(vo->x11->display, context)) ctx->gl->mpgl_caps &= ~MPGL_CAP_NO_SW; -- cgit v1.2.3