changeset 36235:c00402488d80

vo_gl: Fix chroma with rectangle=1.
author reimar
date Mon, 10 Jun 2013 21:33:28 +0000
parents cdb0cc4accb9
children 6e2919257e92
files libvo/gl_common.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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]);