diff options
author | Lars Hofhansl <larsh@apache.org> | 2016-12-07 21:14:18 -0800 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-12-24 00:22:16 +0000 |
commit | 923a8f1983271f65c80cbbde7c46153ce58560b4 (patch) | |
tree | 61c3d459c9bc6f787d24e103b4ed7f7f8e2a464a /src/script/common/c_converter.h | |
parent | a76e7698b21d51594d82e329d3825ee86e653295 (diff) | |
download | minetest-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/script/common/c_converter.h')
0 files changed, 0 insertions, 0 deletions