summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/bloom.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/bloom.fx')
-rw-r--r--hlsl/bloom.fx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/bloom.fx b/hlsl/bloom.fx
index 47cc04c47ed..a338ff6211e 100644
--- a/hlsl/bloom.fx
+++ b/hlsl/bloom.fx
@@ -226,7 +226,7 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Color = Input.Color;
- float2 TexCoord = Input.Position.xy / ScreenDims;
+ float2 TexCoord = Input.TexCoord;
TexCoord += 0.5f / TargetDims; // half texel offset correction (DX9)
Output.TexCoord0 = TexCoord.xy; // + (0.5f / Level0Size);