summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.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_w32.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_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;