diff libvo/vo_gl2.c @ 17220:a27e52b838e3

support negative stride (flipping) in vo_gl.
author reimar
date Sun, 18 Dec 2005 12:04:08 +0000
parents f650267ecc3a
children f580a7755ac5
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Sun Dec 18 11:57:25 2005 +0000
+++ b/libvo/vo_gl2.c	Sun Dec 18 12:04:08 2005 +0000
@@ -531,7 +531,8 @@
 
       glDrawTex(square->fx, square->fy, square->fw, square->fh,
                 0, 0, texture_width, texture_height,
-                texture_width, texture_height, 0, image_format == IMGFMT_YV12);
+                texture_width, texture_height,
+                0, image_format == IMGFMT_YV12, 0);
       square++;
     } /* for all texnumx */
   } /* for all texnumy */