summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 97c92b0ae8..8859b34ed8 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -523,7 +523,7 @@ static struct bstr load_cached_file(struct gl_video *p, const char *path)
static void debug_check_gl(struct gl_video *p, const char *msg)
{
if (p->gl_debug)
- glCheckError(p->gl, p->log, msg);
+ gl_check_error(p->gl, p->log, msg);
}
void gl_video_set_debug(struct gl_video *p, bool enable)
@@ -2983,7 +2983,7 @@ static bool test_fbo(struct gl_video *p, GLint format)
success = true;
}
fbotex_uninit(&fbo);
- glCheckError(gl, p->log, "FBO test");
+ gl_check_error(gl, p->log, "FBO test");
return success;
}