summaryrefslogtreecommitdiffstats
path: root/video/out/gl_cocoa.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-12 00:57:32 +0200
committerwm4 <wm4@nowhere>2013-09-12 01:34:42 +0200
commitbeb1aa59885bb84ace9a055963af0fc756e69547 (patch)
tree71ef56f983d19ef85963a0690a5bde4abb3d6454 /video/out/gl_cocoa.c
parent057407a39f160bfd2dd3911dfaa81c750f991ada (diff)
downloadmpv-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_cocoa.c')
-rw-r--r--video/out/gl_cocoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_cocoa.c b/video/out/gl_cocoa.c
index 7f3b38a422..f9acffb2fb 100644
--- a/video/out/gl_cocoa.c
+++ b/video/out/gl_cocoa.c
@@ -30,7 +30,7 @@ static bool config_window_cocoa(struct MPGLContext *ctx, uint32_t d_width,
if (rv != 0)
return false;
- mpgl_load_functions(ctx->gl, (void *)vo_cocoa_glgetaddr, NULL);
+ mpgl_load_functions(ctx->gl, (void *)vo_cocoa_glgetaddr, NULL, ctx->vo->log);
ctx->depth_r = vo_cocoa_cgl_color_size(ctx->vo);
ctx->depth_g = vo_cocoa_cgl_color_size(ctx->vo);