batch 2.3 enabling back optimizations

This commit is contained in:
JuiceyDev
2026-03-29 20:55:56 -05:00
committed by Tropical
parent b7ac84ca79
commit 08ed9861b9
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -541,11 +541,11 @@ void Textures::bindTextureLayers(ResourceLocation* resource) {
}
void Textures::bind(int id) {
// if (id != lastBoundId)
if (id != lastBoundId)
{
if (id < 0) return;
glBindTexture(GL_TEXTURE_2D, id);
// lastBoundId = id;
lastBoundId = id;
}
}