Fix restoring textures to the default FBO
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
+1
-1
Submodule coreSubProjects updated: 6857300ae2...406468b54c
Reference in New Issue
Block a user