diff options
author | wm4 <wm4@nowhere> | 2013-12-21 21:49:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 22:13:04 +0100 |
commit | eef36f03ea76f97c10075ae4b08e1e53e5195479 (patch) | |
tree | 9bafeac9944e717a2defe9e6f8fc753d3cdb9964 /video/out/gl_video.c | |
parent | eba5d025d2ba682de358b792dd15e80529d6a0f1 (diff) | |
download | mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.bz2 mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.xz |
msg: rename mp_msg_log -> mp_msg
Same for companion functions.
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r-- | video/out/gl_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 324013aef6..0f50403687 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -693,7 +693,7 @@ static GLuint create_shader(struct gl_video *p, GLenum type, const char *header, int pri = status ? (log_length > 1 ? MSGL_V : MSGL_DEBUG) : MSGL_ERR; const char *typestr = type == GL_VERTEX_SHADER ? "vertex" : "fragment"; - if (mp_msg_test_log(p->log, pri)) { + if (mp_msg_test(p->log, pri)) { MP_MSG(p, pri, "%s shader source:\n", typestr); mp_log_source(p->log, pri, full_source); } @@ -728,7 +728,7 @@ static void link_shader(struct gl_video *p, GLuint program) gl->GetProgramiv(program, GL_INFO_LOG_LENGTH, &log_length); int pri = status ? (log_length > 1 ? MSGL_V : MSGL_DEBUG) : MSGL_ERR; - if (mp_msg_test_log(p->log, pri)) { + if (mp_msg_test(p->log, pri)) { GLchar *logstr = talloc_zero_size(NULL, log_length + 1); gl->GetProgramInfoLog(program, log_length, NULL, logstr); MP_MSG(p, pri, "shader link log (status=%d): %s\n", status, logstr); |