-uniform sampler2D PREFIX(tex);
+// Implicit uniforms:
+// uniform sampler2D PREFIX(tex);
vec4 FUNCNAME(vec2 tc) {
// OpenGL's origin is bottom-left, but most graphics software assumes
// 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