mirror of
https://gitea.ibatv.xyz/LegacyConsoleArchive/MCLCE-MinecraftConsoles.git
synced 2026-11-25 03:50:20 +00:00
feat: implement multi-layer texture binding
This commit is contained in:
1 parent
5422191ed4
commit
d2bc3342dc
12 files changed
+38
-12
No files matched your search
@@ -428,7 +428,7 @@ void Textures::bindTextureLayers(ResourceLocation *resource)
|
||||
|
||||
for( int i = 0; i < layers; i++ )
|
||||
{
|
||||
RenderManager.TextureBind(loadTexture(resource->getTexture(i)));
|
||||
RenderManager.TextureBind(i, loadTexture(resource->getTexture(i)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1520,3 +1520,4 @@ bool Textures::IsOriginalImage(TEXTURE_NAME texId, const wstring& name)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user