summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-14 22:39:22 +0100
committerwm4 <wm4@nowhere>2015-03-14 22:39:22 +0100
commitaf705d0122add4faa9fb6a7518ee1120670a6629 (patch)
tree5318c9252785dd553542b046537389de0a90efaa /video/out/gl_video.c
parenta1b3af5df32558ddcf67432a706a7280f81c5f2d (diff)
downloadmpv-af705d0122add4faa9fb6a7518ee1120670a6629.tar.bz2
mpv-af705d0122add4faa9fb6a7518ee1120670a6629.tar.xz
vo_opengl: remove hwdec unmap_image callback
Not needed anymore; see previous commit.
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);