Skip to content

Commit

Permalink
Setting the resolution to match the old prevents calling reshape (jMo…
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele authored Jul 3, 2024
1 parent 6c0ab69 commit 104e19e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ public void invoke(int error, long description) {
requestWidth = videoMode.width();
requestHeight = videoMode.height();
}
oldFramebufferHeight = requestHeight;
oldFramebufferWidth = requestWidth;
window = glfwCreateWindow(requestWidth, requestHeight, settings.getTitle(), monitor, NULL);
if (window == NULL) {
throw new RuntimeException("Failed to create the GLFW window");
Expand Down

0 comments on commit 104e19e

Please sign in to comment.