diff --git a/bin/shader.fx b/bin/shader.fx index 48d703d6d1..85d97b29be 100644 --- a/bin/shader.fx +++ b/bin/shader.fx @@ -519,9 +519,9 @@ float4 FxaaPass(float4 FxaaColor, float2 texcoord) FxaaTex tex; #if(GLSL == 1) - tex = TextureSampler; - vec2 PixelSize = textureSize(tex, 0); - FxaaColor = FxaaPixelShader(texcoord, tex, 1.0/PixelSize.xy, FxaaSubpixMax, FxaaEdgeThreshold, FxaaEdgeThresholdMin); + tex = TextureSampler; + vec2 PixelSize = textureSize(tex, 0); + FxaaColor = FxaaPixelShader(texcoord, tex, 1.0/PixelSize.xy, FxaaSubpixMax, FxaaEdgeThreshold, FxaaEdgeThresholdMin); #else tex.tex = Texture; tex.smpl = TextureSampler;