aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 += " ";