Fix shadow static rendering
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ public abstract class AbstractShaderRenderer
|
||||
GL32.glDrawArrays(GL32.GL_TRIANGLES, 0, 6);
|
||||
|
||||
// explicitly unbinding the frame buffer is necessary to prevent GL_CLEAR calls from hitting the wrong buffer
|
||||
//GL32.glBindFramebuffer(GL32.GL_FRAMEBUFFER, 0);
|
||||
GL32.glBindFramebuffer(GL32.GL_FRAMEBUFFER, 0);
|
||||
|
||||
state.restore();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user