mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Rename SMaterial::TextureLayer -> SMaterial::TextureLayers
It's not the "texture layer" of the material, but an array of texture layers.
This commit is contained in:
@ -590,9 +590,9 @@ public:
|
||||
// Fix textures which got removed
|
||||
for ( u32 i=0; i < MATERIAL_MAX_TEXTURES; ++i )
|
||||
{
|
||||
if ( material.TextureLayer[i].Texture && !TextureCache[i] )
|
||||
if ( material.TextureLayers[i].Texture && !TextureCache[i] )
|
||||
{
|
||||
material.TextureLayer[i].Texture = 0;
|
||||
material.TextureLayers[i].Texture = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user