diff options
author | stujones11 <stujones111@gmail.com> | 2017-07-01 17:01:07 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-07-01 18:01:07 +0200 |
commit | c3580043685671c4f767e1c380ae7c3e237f8b8b (patch) | |
tree | 59f3799a1415c883b494819ea09756fab891648d | |
parent | c772e0e18c90e48f237e37a45230a1dacd945786 (diff) | |
download | minetest-c3580043685671c4f767e1c380ae7c3e237f8b8b.tar.gz minetest-c3580043685671c4f767e1c380ae7c3e237f8b8b.tar.bz2 minetest-c3580043685671c4f767e1c380ae7c3e237f8b8b.zip |
Include TILE_MATERIAL_OPAQUE in shaders header (#6086)
-rw-r--r-- | src/shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader.cpp b/src/shader.cpp index 4f482fddb..ac0745cb4 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -639,7 +639,7 @@ ShaderInfo generate_shader(const std::string &name, u8 material_type, u8 drawtyp "TILE_MATERIAL_OPAQUE" }; - for (int i = 0; i < 6; i++){ + for (int i = 0; i < 7; i++){ shaders_header += "#define "; shaders_header += materialTypes[i]; shaders_header += " "; |