Skip to content

Commit

Permalink
Fix a typo in LwjglWindow (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-RS committed Feb 13, 2023
1 parent 387aba8 commit e71f506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public void invoke(int error, long description) {
final GLFWVidMode videoMode = glfwGetVideoMode(glfwGetPrimaryMonitor());
int requestWidth = settings.getWindowWidth();
int requestHeight = settings.getWindowHeight();
if (requestWidth <= 0 || requestWidth <= 0) {
if (requestWidth <= 0 || requestHeight <= 0) {
requestWidth = videoMode.width();
requestHeight = videoMode.height();
}
Expand Down

0 comments on commit e71f506

Please sign in to comment.