summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_gl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 6097fc10a2..68a8354e54 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -669,8 +669,6 @@ static uint32_t get_image(mp_image_t *mpi) {
return VO_FALSE;
}
if (mpi->flags & MP_IMGFLAG_READABLE) return VO_FALSE;
- if (mpi->type == MP_IMGTYPE_IP || mpi->type == MP_IMGTYPE_IPB)
- return VO_FALSE; // we can not provide readable buffers
if (!gl_buffer)
GenBuffers(1, &gl_buffer);
BindBuffer(GL_PIXEL_UNPACK_BUFFER, gl_buffer);