aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstujones11 <stujones111@gmail.com>2017-07-01 17:01:07 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commitebf9dda2e6150e07a1e55c376043a34e6b4c70aa (patch)
treeb27330548208a097ed4d480b9dd4d6013875451f /src
parentc352ff71e86fd3d40414cbe3a374c9563495ca1a (diff)
downloadminetest-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.cpp2
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 += " ";