diff options
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; |