X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=flat_input.frag;h=855d4fbbfe1c1b888ae52ee24112eb3868131996;hp=007675e848fc08aec4ced29015ad61a078ae4b6c;hb=refs%2Fheads%2Fepoxy;hpb=67b2debafd624d3be66588171d6ec677b54247ba diff --git a/flat_input.frag b/flat_input.frag index 007675e..855d4fb 100644 --- a/flat_input.frag +++ b/flat_input.frag @@ -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