Include TILE_MATERIAL_OPAQUE in shaders header (#6086)

This commit is contained in:
stujones11 2017-07-01 17:01:07 +01:00 committed by SmallJoker
parent c352ff71e8
commit ebf9dda2e6

@ -645,7 +645,7 @@ ShaderInfo generate_shader(const std::string &name, u8 material_type, u8 drawtyp
"TILE_MATERIAL_OPAQUE" "TILE_MATERIAL_OPAQUE"
}; };
for (int i = 0; i < 6; i++){ for (int i = 0; i < 7; i++){
shaders_header += "#define "; shaders_header += "#define ";
shaders_header += materialTypes[i]; shaders_header += materialTypes[i];
shaders_header += " "; shaders_header += " ";