Fix restoring textures to the default FBO

This commit is contained in:
James Seibel
2025-03-18 20:18:30 -05:00
parent 1341ea3f3d
commit 37c0af529d
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
if (GL32.glIsTexture(currentTexture))
// throw a GL error in MC 1.21.1
if (GL32.glIsTexture(currentTexture))
{
GLMC.glBindTexture(currentTexture);
}