summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_w32.c')
-rw-r--r--video/out/gl_w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c
index 8b21e25277..10e2ff9df8 100644
--- a/video/out/gl_w32.c
+++ b/video/out/gl_w32.c
@@ -67,7 +67,7 @@ static bool create_context_w32_old(struct MPGLContext *ctx)
*context = new_context;
- mpgl_load_functions(ctx->gl, w32gpa, NULL);
+ mpgl_load_functions(ctx->gl, w32gpa, NULL, ctx->vo->log);
res = true;
out:
@@ -149,7 +149,7 @@ static bool create_context_w32_gl3(struct MPGLContext *ctx)
}
/* update function pointers */
- mpgl_load_functions(ctx->gl, w32gpa, NULL);
+ mpgl_load_functions(ctx->gl, w32gpa, NULL, ctx->vo->log);
int pfmt = GetPixelFormat(windc);
PIXELFORMATDESCRIPTOR pfd;