diff options
author | wm4 <wm4@nowhere> | 2013-09-12 00:57:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-12 01:34:42 +0200 |
commit | beb1aa59885bb84ace9a055963af0fc756e69547 (patch) | |
tree | 71ef56f983d19ef85963a0690a5bde4abb3d6454 /video/out/gl_x11.c | |
parent | 057407a39f160bfd2dd3911dfaa81c750f991ada (diff) | |
download | mpv-beb1aa59885bb84ace9a055963af0fc756e69547.tar.bz2 mpv-beb1aa59885bb84ace9a055963af0fc756e69547.tar.xz |
gl_common: complete mp_msg conversion
Hopefully this works on Wayland and Cocoa, which I didn't test.
Diffstat (limited to 'video/out/gl_x11.c')
-rw-r--r-- | video/out/gl_x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |