aboutsummaryrefslogtreecommitdiff
path: root/src/gamedef.h
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2016-12-07 21:14:18 -0800
committerparamat <mat.gregory@virginmedia.com>2016-12-24 00:22:16 +0000
commit923a8f1983271f65c80cbbde7c46153ce58560b4 (patch)
tree61c3d459c9bc6f787d24e103b4ed7f7f8e2a464a /src/gamedef.h
parenta76e7698b21d51594d82e329d3825ee86e653295 (diff)
downloadminetest-923a8f1983271f65c80cbbde7c46153ce58560b4.tar.gz
minetest-923a8f1983271f65c80cbbde7c46153ce58560b4.tar.bz2
minetest-923a8f1983271f65c80cbbde7c46153ce58560b4.zip
Shaders: Remove unnecessary 'if' statements
Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating it for each fragment. Remove if (fogDistance != 0.0).
Diffstat (limited to 'src/gamedef.h')
0 files changed, 0 insertions, 0 deletions