From: stujones11 Date: Sat, 1 Jul 2017 16:01:07 +0000 (+0100) Subject: Include TILE_MATERIAL_OPAQUE in shaders header (#6086) X-Git-Tag: 5.0.0~1043 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3580043685671c4f767e1c380ae7c3e237f8b8b;p=oweals%2Fminetest.git Include TILE_MATERIAL_OPAQUE in shaders header (#6086) --- 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 += " ";