From c3580043685671c4f767e1c380ae7c3e237f8b8b 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 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 += " ";