Skip to content

Commit

Permalink
Setting the resolution to match the old prevents calling reshape (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele authored and scenemax3d committed Jul 5, 2024
1 parent 1458265 commit 5cadb88
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 5cadb88

Please sign in to comment.