forked from Mirrorlandia_minetest/minetest
Include TILE_MATERIAL_OPAQUE in shaders header (#6086)
This commit is contained in:
parent
c352ff71e8
commit
ebf9dda2e6
@ -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 += " ";
|
||||
|
Loading…
Reference in New Issue
Block a user