summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r--video/out/gl_video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 3c94e3c439..b41a3c6590 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -1753,9 +1753,6 @@ void gl_video_render_frame(struct gl_video *p, int fbo, struct frame_timing *t)
debug_check_gl(p, "after video rendering");
- if (p->hwdec_active)
- p->hwdec->driver->unmap_image(p->hwdec);
-
draw_osd:
gl->BindFramebuffer(GL_FRAMEBUFFER, fbo);