summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/post.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/post.fx')
-rw-r--r--hlsl/post.fx4
1 files changed, 1 insertions, 3 deletions
diff --git a/hlsl/post.fx b/hlsl/post.fx
index ed9dfff9e30..c5d78b8a9b1 100644
--- a/hlsl/post.fx
+++ b/hlsl/post.fx
@@ -206,14 +206,12 @@ float4 ps_main(PS_INPUT Input) : COLOR
// Color
float4 BaseColor = tex2D(DiffuseSampler, BaseCoord);
- BaseColor.a = 1.0;
// clip border
if (BaseCoord.x < 0.0 || BaseCoord.y < 0.0 ||
BaseCoord.x > 1.0 || BaseCoord.y > 1.0)
{
- // we don't use the clip function, because we don't clear the render target before
- return float4(0.0, 0.0, 0.0, 1.0);
+ discard;
}
// Color Compression (may not affect bloom)