mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-04 21:44:20 +00:00
fix(linux): localise chunk transforms and guard optional iggy paths
This commit is contained in:
@@ -543,6 +543,9 @@ 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)
|
||||
{
|
||||
if (id < 0) return;
|
||||
|
||||
Reference in New Issue
Block a user