Tabbing >.>

This commit is contained in:
Kieran Hanrahan 2014-11-10 23:49:11 +00:00
parent d228ad3ddd
commit cf5da56390
1 changed files with 3 additions and 3 deletions

View File

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