Skip to content

Commit

Permalink
unbind framebuffer object after use in renderFullImageInFBO
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 committed Sep 8, 2024
1 parent cc0e414 commit 2456995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/gregtech/client/shader/Shaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public static Framebuffer renderFullImageInFBO(Framebuffer fbo, ShaderObject fra
// GlStateManager.viewport(0, 0, mc.displayWidth, mc.displayHeight);

// OpenGlHelper.glBindFramebuffer(OpenGlHelper.GL_FRAMEBUFFER, lastID);
fbo.bindFramebuffer(false);
return fbo;
}
}

0 comments on commit 2456995

Please sign in to comment.