diff options
author | wm4 <wm4@nowhere> | 2013-09-12 00:57:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-12 01:34:42 +0200 |
commit | beb1aa59885bb84ace9a055963af0fc756e69547 (patch) | |
tree | 71ef56f983d19ef85963a0690a5bde4abb3d6454 /video/out/gl_video.c | |
parent | 057407a39f160bfd2dd3911dfaa81c750f991ada (diff) | |
download | mpv-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_video.c')
-rw-r--r-- | video/out/gl_video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 083c1f40e9..363c6a634e 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -343,7 +343,7 @@ static void default_tex_params(struct GL *gl, GLenum target, GLint filter) static void debug_check_gl(struct gl_video *p, const char *msg) { if (p->gl_debug) - glCheckError(p->gl, msg); + glCheckError(p->gl, p->log, msg); } void gl_video_set_debug(struct gl_video *p, bool enable) @@ -1685,11 +1685,11 @@ static bool test_fbo(struct gl_video *p, GLenum format) MP_VERBOSE(p, " %s: %a\n", val_names[i], val - pixel); } gl->BindFramebuffer(GL_FRAMEBUFFER, 0); - glCheckError(gl, "after FBO read"); + glCheckError(gl, p->log, "after FBO read"); success = true; } fbotex_uninit(p, &fbo); - glCheckError(gl, "FBO test"); + glCheckError(gl, p->log, "FBO test"); gl->ClearColor(0.0f, 0.0f, 0.0f, 1.0f); return success; } |