eglglessink: GLSL: Drop unneded nxy vec2
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Wed, 10 Oct 2012 06:02:21 +0000 (03:02 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:18 +0000 (14:35 +0200)
ext/eglgles/gsteglglessink.c

index 61f7ba7..7235b07 100644 (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);"