summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-10 18:33:34 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-10 18:33:34 +0000
commita677c0b41fa837b957f871ed2f3dc83ee3fa82ee (patch)
treea941d61687eb4943c78a80e009c76ab3c6b02343 /libvo
parentc7e931e57aedf142c7e35b6aabf7b489755523c5 (diff)
downloadmpv-a677c0b41fa837b957f871ed2f3dc83ee3fa82ee.tar.bz2
mpv-a677c0b41fa837b957f871ed2f3dc83ee3fa82ee.tar.xz
Get rid of left-over incorrect UnmapBuffer hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18999 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 616e27490c..ef618801d5 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -602,7 +602,6 @@ static uint32_t get_image(mp_image_t *mpi) {
NULL, GL_DYNAMIC_DRAW);
gl_buffersize = mpi->stride[0] * mpi->h;
}
- UnmapBuffer(GL_PIXEL_UNPACK_BUFFER); // HACK, needed for some MPEG4 files??
mpi->planes[0] = MapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY);
BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
if (mpi->planes[0] == NULL) {