Skip to content

Commit 104e19e

Browse files
authored
Setting the resolution to match the old prevents calling reshape (#2290)
1 parent 6c0ab69 commit 104e19e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java

-2
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ public void invoke(int error, long description) {
298298
requestWidth = videoMode.width();
299299
requestHeight = videoMode.height();
300300
}
301-
oldFramebufferHeight = requestHeight;
302-
oldFramebufferWidth = requestWidth;
303301
window = glfwCreateWindow(requestWidth, requestHeight, settings.getTitle(), monitor, NULL);
304302
if (window == NULL) {
305303
throw new RuntimeException("Failed to create the GLFW window");

0 commit comments

Comments
 (0)