Skip to content

Commit

Permalink
Don't turn off VSync when rendering from Minecraft context
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Nov 9, 2023
1 parent 55da57a commit 6f074f1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ void paintFramebuffer() {
public void render(int alpha) {
var currentVAO = glGetInteger(GL_VERTEX_ARRAY_BINDING);
var currentFB = glGetInteger(GL_READ_FRAMEBUFFER_BINDING);
glfwSwapInterval(0);
glViewport(0, 0, this.context.scaledWidth(), this.context.scaledHeight());
RenderElement.globalAlpha = alpha;
framebuffer.activate();
Expand Down

0 comments on commit 6f074f1

Please sign in to comment.