diff options
| author | 2023-02-24 17:33:05 +1100 | |
|---|---|---|
| committer | 2023-02-24 17:33:05 +1100 | |
| commit | 54cdb214e4d6141b49659cf0c532f39b0727c9ef (patch) | |
| tree | a83294a4be6079dd9d3d513b1d02b5cbe71fd1d8 /hlsl | |
| parent | c64e2da46dea622b35350b8cd9fe38da4b265d1b (diff) | |
hlsl: Fixed regression in distortion shader. [Ryan Holtz]
Diffstat (limited to 'hlsl')
| -rw-r--r-- | hlsl/distortion.fx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/distortion.fx b/hlsl/distortion.fx index 29835df368c..e121cd2ff64 100644 --- a/hlsl/distortion.fx +++ b/hlsl/distortion.fx @@ -284,7 +284,7 @@ float4 ps_main(PS_INPUT Input) : COLOR if (BaseCoord.x < 0.0f - TexelDims.x || BaseCoord.y < 0.0f - TexelDims.y || BaseCoord.x > 1.0f + TexelDims.x || BaseCoord.y > 1.0f + TexelDims.y) { - discard; + return float4(0, 0, 0, 1); } // Color |
