chore: format everything

This commit is contained in:
Tropical
2026-03-30 02:13:59 -05:00
parent 470ddf959d
commit c9b90cae2c
463 changed files with 12748 additions and 11285 deletions

View File

@@ -529,11 +529,12 @@ void Textures::bindTextureLayers(ResourceLocation* resource) {
void Textures::bind(int id) {
// 4jcraft: Classic GUI code still performs some raw glBindTexture calls, so
// this path must always rebind rather than trusting lastBoundId to be in sync.
// TODO(4jcraft): Long term, route all texture binds through one synchronized
// path or invalidate lastBoundId at every raw glBindTexture call so this can
// safely use cached binds again without breaking font/UI rendering.
// if (id != lastBoundId)
// this path must always rebind rather than trusting lastBoundId to be in
// sync.
// TODO(4jcraft): Long term, route all texture binds through one
// synchronized path or invalidate lastBoundId at every raw glBindTexture
// call so this can safely use cached binds again without breaking font/UI
// rendering. if (id != lastBoundId)
{
if (id < 0) return;
glBindTexture(GL_TEXTURE_2D, id);
@@ -1190,7 +1191,6 @@ void Textures::reloadAll() {
skins->clearInvalidTexturePacks();
// Recalculate fonts
// Minecraft::GetInstance()->font->loadCharacterWidths();
// Minecraft::GetInstance()->altFont->loadCharacterWidths();