diff libvo/gl_common.c @ 36235:c00402488d80

vo_gl: Fix chroma with rectangle=1.
author reimar
date Mon, 10 Jun 2013 21:33:28 +0000
parents 673719da1a92
children 1573608248ad
line wrap: on
line diff
--- a/libvo/gl_common.c	Mon Jun 10 21:19:38 2013 +0000
+++ b/libvo/gl_common.c	Mon Jun 10 21:33:28 2013 +0000
@@ -2043,8 +2043,8 @@
     int py = 2*i + 1;
     mpglTexCoord2f(texcoords[px], texcoords[py]);
     if (is_yv12) {
-      mpglMultiTexCoord2f(GL_TEXTURE1, texcoords2[px], texcoords[py]);
-      mpglMultiTexCoord2f(GL_TEXTURE2, texcoords2[px], texcoords[py]);
+      mpglMultiTexCoord2f(GL_TEXTURE1, texcoords2[px], texcoords2[py]);
+      mpglMultiTexCoord2f(GL_TEXTURE2, texcoords2[px], texcoords2[py]);
     }
     if (use_stipple)
       mpglMultiTexCoord2f(GL_TEXTURE3, texcoords3[px], texcoords3[py]);