summaryrefslogtreecommitdiffstats
path: root/video/out/gl_wayland.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_wayland.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_wayland.c')
-rw-r--r--video/out/gl_wayland.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c
index c4bca1ce4c..c361861d78 100644
--- a/video/out/gl_wayland.c
+++ b/video/out/gl_wayland.c
@@ -139,9 +139,10 @@ static bool egl_create_context(struct vo_wayland_state *wl,
eglstr = eglQueryString(egl_ctx->egl.dpy, EGL_EXTENSIONS);
- mpgl_load_functions(gl, (void*(*)(const GLubyte*))eglGetProcAddress, eglstr);
+ mpgl_load_functions(gl, (void*(*)(const GLubyte*))eglGetProcAddress, eglstr,
+ wl->vo->log);
if (!gl->BindProgram)
- mpgl_load_functions(gl, NULL, eglstr);
+ mpgl_load_functions(gl, NULL, eglstr, wl->vo->log);
return true;
}