Skip to content

Commit

Permalink
unbind framebuffer object after use in renderFullImageInFBO (GregTech…
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 authored Sep 12, 2024
1 parent 00034fb commit 0b8263d
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 0b8263d

Please sign in to comment.