mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
hlsl: Fixed regression in distortion shader. [Ryan Holtz]
This commit is contained in:
parent
c64e2da46d
commit
54cdb214e4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue