summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl_cb.c')
-rw-r--r--video/out/vo_opengl_cb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c
index c292668651..f431880ecb 100644
--- a/video/out/vo_opengl_cb.c
+++ b/video/out/vo_opengl_cb.c
@@ -214,6 +214,7 @@ int mpv_opengl_cb_render(struct mpv_opengl_cb_context *ctx, int fbo, int vp[4])
gl_video_config(ctx->renderer, &ctx->img_params);
struct vo_priv *p = vo->priv;
gl_video_set_options(ctx->renderer, p->renderer_opts);
+ ctx->gl->debug_context = p->use_gl_debug;
gl_video_set_debug(ctx->renderer, p->use_gl_debug);
}