From ebf9dda2e6150e07a1e55c376043a34e6b4c70aa Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sat, 1 Jul 2017 17:01:07 +0100 Subject: [PATCH] Include TILE_MATERIAL_OPAQUE in shaders header (#6086) --- src/shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += " ";