]> git.sesse.net Git - movit/blob - mirror_effect.frag
fix compile error: "error: variable-sized object ‘red_data’ may not be initialized"
[movit] / mirror_effect.frag
1 // Mirrors the image horizontally.
2 vec4 FUNCNAME(vec2 tc)
3 {
4         tc.x = 1.0 - tc.x;
5         return INPUT(tc);
6 }