From 5f398831d2aac9f65bc3499101f529fa51eebdf7 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(-) (limited to 'video') 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; } -- cgit v1.2.3