diff options
author | stujones11 <stujones111@gmail.com> | 2017-07-01 17:01:07 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:31:59 +0200 |
commit | ebf9dda2e6150e07a1e55c376043a34e6b4c70aa (patch) | |
tree | b27330548208a097ed4d480b9dd4d6013875451f /src | |
parent | c352ff71e86fd3d40414cbe3a374c9563495ca1a (diff) | |
download | minetest-ebf9dda2e6150e07a1e55c376043a34e6b4c70aa.tar.gz minetest-ebf9dda2e6150e07a1e55c376043a34e6b4c70aa.tar.bz2 minetest-ebf9dda2e6150e07a1e55c376043a34e6b4c70aa.zip |
Include TILE_MATERIAL_OPAQUE in shaders header (#6086)
Diffstat (limited to 'src')
-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 f52ca69ef..e525aa0aa 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -645,7 +645,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 += " "; |