Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
36234:cdb0cc4accb9 | 36235:c00402488d80 |
---|---|
2041 for (i = 0; i < 4; i++) { | 2041 for (i = 0; i < 4; i++) { |
2042 int px = 2*i; | 2042 int px = 2*i; |
2043 int py = 2*i + 1; | 2043 int py = 2*i + 1; |
2044 mpglTexCoord2f(texcoords[px], texcoords[py]); | 2044 mpglTexCoord2f(texcoords[px], texcoords[py]); |
2045 if (is_yv12) { | 2045 if (is_yv12) { |
2046 mpglMultiTexCoord2f(GL_TEXTURE1, texcoords2[px], texcoords[py]); | 2046 mpglMultiTexCoord2f(GL_TEXTURE1, texcoords2[px], texcoords2[py]); |
2047 mpglMultiTexCoord2f(GL_TEXTURE2, texcoords2[px], texcoords[py]); | 2047 mpglMultiTexCoord2f(GL_TEXTURE2, texcoords2[px], texcoords2[py]); |
2048 } | 2048 } |
2049 if (use_stipple) | 2049 if (use_stipple) |
2050 mpglMultiTexCoord2f(GL_TEXTURE3, texcoords3[px], texcoords3[py]); | 2050 mpglMultiTexCoord2f(GL_TEXTURE3, texcoords3[px], texcoords3[py]); |
2051 mpglVertex2f(vertices[px], vertices[py]); | 2051 mpglVertex2f(vertices[px], vertices[py]); |
2052 } | 2052 } |