diff options
Diffstat (limited to 'video/out/gl_wayland.c')
-rw-r--r-- | video/out/gl_wayland.c | 5 |
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; } |