mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
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