]> git.sesse.net Git - movit/blobdiff - flat_input.frag
Add proper formats for sRGB without alpha.
[movit] / flat_input.frag
index 007675e848fc08aec4ced29015ad61a078ae4b6c..855d4fbbfe1c1b888ae52ee24112eb3868131996 100644 (file)
@@ -6,7 +6,7 @@ vec4 FUNCNAME(vec2 tc) {
        // we flip the y coordinate.
        tc.y = 1.0 - tc.y;
 
-       vec4 pixel = texture2D(PREFIX(tex), tc);
+       vec4 pixel = tex2D(PREFIX(tex), tc);
 
        // These two are #defined to 0 or 1 in flat_input.cpp.
 #if FIXUP_SWAP_RB