Add stack tracing to GL error logging

This commit is contained in:
James Seibel
2025-03-18 18:10:25 -05:00
parent f8887e403f
commit c0bb120669
2 changed files with 2 additions and 2 deletions
@@ -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);
}