From b271c8e11974d7c24e037a3bdb079fce6365889d Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 28 Jun 2025 10:10:03 -0500 Subject: [PATCH] Fix MinecraftGLWrapper.getActiveTexture() --- .../common/wrappers/minecraft/MinecraftGLWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java index f0db8c02e..52da8310f 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java @@ -233,7 +233,7 @@ public class MinecraftGLWrapper implements IMinecraftGLWrapper GlStateManager._activeTexture(textureId); } @Override - public int getActiveTexture() { return GL32.glGetInteger(GL32.GL_ACTIVE_TEXTURE); } + public int getActiveTexture() { return GL32.glGetInteger(GL32.GL_TEXTURE_BINDING_2D); } /** * Always binds to {@link GL32#GL_TEXTURE_2D}