]> git.sesse.net Git - movit/blob - mirror_effect.frag
Yet another use-NULL-instead-of-giving-in-empty-stuff cleanup.
[movit] / mirror_effect.frag
1 // Mirrors the image horizontally.
2 vec4 FUNCNAME(vec2 tc)
3 {
4         tc.x = 1.0 - tc.x;
5         return LAST_INPUT(tc);
6 }