]> git.sesse.net Git - movit/blobdiff - flat_input.frag
1.0f is not allowed in GLSL; 1.0 it is.
[movit] / flat_input.frag
index 4bc055e8baec0a00f2552cea2bc65bc732e04ad8..d7c04cc5718f7fc5f0d38923932a601751426f41 100644 (file)
@@ -4,7 +4,7 @@ vec4 FUNCNAME(vec2 tc) {
        // OpenGL's origin is bottom-left, but most graphics software assumes
        // a top-left origin. Thus, for inputs that come from the user,
        // we flip the y coordinate.
-       tc.y = 1.0f - tc.y;
+       tc.y = 1.0 - tc.y;
 
        return texture2D(PREFIX(tex), tc);
 }