hlsl: Fixed regression in distortion shader. [Ryan Holtz]

This commit is contained in:
Vas Crabb 2023-02-24 17:33:05 +11:00
parent c64e2da46d
commit 54cdb214e4

View file

@ -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