summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-02-08 01:55:31 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-11 17:45:51 -0800
commit7b1e73139f73f446a472782e1465040c0e6b16dd (patch)
tree83e7cd8af10b7453671259ceb64669ad58726ed2 /video/out/vo_gpu.c
parentbff8cfe3f0a8ec4235e32b23deec36d9a476b8d6 (diff)
downloadmpv-7b1e73139f73f446a472782e1465040c0e6b16dd.tar.bz2
mpv-7b1e73139f73f446a472782e1465040c0e6b16dd.tar.xz
vo_gpu: add internal ability to skip osd/subs for rendering
Needed for the following commit.
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index c59be48bd0..d3b27ca5bc 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -84,7 +84,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
if (!sw->fns->start_frame(sw, &fbo))
return;
- gl_video_render_frame(p->renderer, frame, fbo);
+ gl_video_render_frame(p->renderer, frame, fbo, RENDER_FRAME_DEF);
if (!sw->fns->submit_frame(sw, frame)) {
MP_ERR(vo, "Failed presenting frame!\n");
return;