From c0bb120669e0f07eead5ca21775664cfcaeb6d8a Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 18 Mar 2025 18:10:25 -0500 Subject: [PATCH] Add stack tracing to GL error logging --- .../distanthorizons/common/wrappers/misc/LightMapWrapper.java | 2 +- coreSubProjects | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java index bc19189a6..9be9ee887 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java @@ -64,8 +64,8 @@ public class LightMapWrapper implements ILightMapWrapper image.upload(0, 0, 0, false); // getActiveTexture() may return textures that aren't valid and attempting to bind them will - // throw a GL error if (GL32.glIsTexture(currentTexture)) + // throw a GL error in MC 1.21.1 { GLMC.glBindTexture(currentTexture); } diff --git a/coreSubProjects b/coreSubProjects index 6775ee23c..6857300ae 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 6775ee23c36f4c8773959dd8efe39c10220559b2 +Subproject commit 6857300ae226a2e60336cc5a99c845c0b8872ee2