From 010b1e7cc5c81f82f024d6929d1e90f472c6b339 Mon Sep 17 00:00:00 2001 From: RogueLogix Date: Mon, 19 Feb 2024 11:42:32 -0800 Subject: [PATCH] actually fix #12, last fix was still broken --- src/main/java/net/roguelogix/quartz/internal/gl/GLCore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/roguelogix/quartz/internal/gl/GLCore.java b/src/main/java/net/roguelogix/quartz/internal/gl/GLCore.java index d6539de..1970a47 100644 --- a/src/main/java/net/roguelogix/quartz/internal/gl/GLCore.java +++ b/src/main/java/net/roguelogix/quartz/internal/gl/GLCore.java @@ -240,6 +240,7 @@ public void preOpaque() { glActiveTexture(GL_TEXTURE0 + i); glBindTexture(GL_TEXTURE_BUFFER, 0); } + glActiveTexture(GL_TEXTURE0); RenderSystem.activeTexture(GL_TEXTURE0); if (DRAW_INDIRECT) { glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 0);