changeset 18994:b9e9c8c7bbae

Get rid of left-over incorrect UnmapBuffer hack
author reimar
date Mon, 10 Jul 2006 18:33:34 +0000
parents ecc7a8773e43
children 46bf025408c3
files libvo/vo_gl.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Mon Jul 10 14:50:30 2006 +0000
+++ b/libvo/vo_gl.c	Mon Jul 10 18:33:34 2006 +0000
@@ -602,7 +602,6 @@
                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) {