summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index f7c29ceacb..5d28a30054 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -207,7 +207,8 @@ static int control(struct vo *vo, uint32_t request, void *data)
update_ra_ctx_options(vo);
gl_video_configure_queue(p->renderer, vo);
get_and_update_icc_profile(p);
- p->ctx->fns->update_render_opts(p->ctx);
+ if (p->ctx->fns->update_render_opts)
+ p->ctx->fns->update_render_opts(p->ctx);
vo->want_redraw = true;
return true;
}