summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 67cd3ce9dd..d9067d9567 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -127,7 +127,7 @@ static void flip_page(struct vo *vo)
p->glctx->swapGlBuffers(p->glctx);
p->frames_rendered++;
- if (p->frames_rendered > 5)
+ if (p->frames_rendered > 5 && !p->use_gl_debug)
gl_video_set_debug(p->renderer, false);
if (p->use_glFinish)