summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/prescale.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/prescale.fx')
-rw-r--r--hlsl/prescale.fx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hlsl/prescale.fx b/hlsl/prescale.fx
index 6b3dff8d058..10420af1b85 100644
--- a/hlsl/prescale.fx
+++ b/hlsl/prescale.fx
@@ -58,8 +58,8 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Position.x -= 0.5f;
Output.Position.y -= 0.5f;
Output.Position *= float4(2.0f, 2.0f, 1.0f, 1.0f);
-
- Output.TexCoord = Input.TexCoord;
+
+ Output.TexCoord = Input.TexCoord + 0.5f / float2(TargetWidth, TargetHeight);
return Output;
}