[851/906] deinterlace: fix texture coordinates computation

Fixes a regression introduced by fffdcbdd3dde437e10cf6e1b5e40c6958d41e6c1

https://bugzilla.gnome.org/show_bug.cgi?id=720826
This commit is contained in:
Matthieu Bouron 2013-12-20 15:18:38 +00:00 committed by Matthew Waters
parent b0a43c0c65
commit f230ec14ba

View file

@ -78,7 +78,7 @@ static const gchar *greedyh_fragment_source =
"void main () {\n"
" vec2 texcoord = gl_TexCoord[0].xy;\n"
" if (int(mod(texcoord.y * width, 2.0)) == 0) {\n"
" if (int(mod(texcoord.y * height, 2.0)) == 0) {\n"
" gl_FragColor = vec4(texture2D(tex_prev, texcoord).rgb, 1.0);\n"
" } else {\n"
" vec2 texcoord_L1_a1, texcoord_L3_a1, texcoord_L1, texcoord_L3, texcoord_L1_1, texcoord_L3_1;\n"