eglglessink: GLSL: Drop unneded nxy vec2

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-10-10 03:02:21 -03:00 committed by Sebastian Dröge
parent bb0b872644
commit eb8f7d63d5

View file

@ -225,8 +225,7 @@ static const char *frag_AYUV_prog = {
"void main(void) {"
" float r,g,b;"
" vec3 yuv;"
" vec2 nxy = opos.xy;"
" yuv = texture2D(tex,nxy).gba;"
" yuv = texture2D(tex,opos.xy).gba;"
" yuv += offset;"
" r = dot(yuv, rcoeff);"
" g = dot(yuv, gcoeff);"