summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
authorGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-23 01:53:35 +0000
committerGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-23 01:53:35 +0000
commitae9fbbe44df5e8e4469d69f075a03ce8e7579286 (patch)
tree6ea8a1dd4532edc3f84331adbb917183848dce0d /hlsl/phosphor.fx
parent93ea1ba81cc17e168b739d2f8f6c4b3c828f7129 (diff)
NTSC fixes, nw
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index fcfe6bdba53..13fc97975b4 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -79,8 +79,8 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Color = Input.Color;
float2 InvTexSize = float2(1.0f / TargetWidth, 1.0f / TargetHeight);
- Output.TexCoord = Input.TexCoord + 0.5f / float2(RawWidth, RawHeight);
- Output.PrevCoord = Output.TexCoord + 0.5f / float2(RawWidth, RawHeight);
+ Output.TexCoord = Input.TexCoord + 0.5f * InvTexSize;
+ Output.PrevCoord = Output.TexCoord + 0.5f * InvTexSize;
return Output;
}