From beb1aa59885bb84ace9a055963af0fc756e69547 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 Sep 2013 00:57:32 +0200 Subject: gl_common: complete mp_msg conversion Hopefully this works on Wayland and Cocoa, which I didn't test. --- video/out/gl_x11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/out/gl_x11.c') diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 8624746625..a3b3176987 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -68,13 +68,13 @@ static bool create_context_x11_old(struct MPGLContext *ctx) if (glXExtStr) glxstr = glXExtStr(display, ctx->vo->x11->screen); - mpgl_load_functions(gl, getProcAddress, glxstr); + mpgl_load_functions(gl, getProcAddress, 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); + mpgl_load_functions(gl, NULL, glxstr, vo->log); } glx_ctx->context = new_context; @@ -136,7 +136,7 @@ static bool create_context_x11_gl3(struct MPGLContext *ctx, bool debug) glx_ctx->context = context; - mpgl_load_functions(ctx->gl, (void *)glXGetProcAddress, glxstr); + mpgl_load_functions(ctx->gl, (void *)glXGetProcAddress, glxstr, vo->log); if (!glXIsDirect(vo->x11->display, context)) ctx->gl->mpgl_caps &= ~MPGL_CAP_NO_SW; -- cgit v1.2.3