summaryrefslogtreecommitdiff
path: root/lwjgl3
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-21 00:35:31 +0500
committerilotterytea <iltsu@alright.party>2025-01-21 00:35:31 +0500
commit452f26f00d4ae61773f7c1a2a8700922859bccb1 (patch)
tree3076863c3a38c9ba4e36cd8521c78711f6fc717d /lwjgl3
parente97ae613ef0976762687fe15d984b442044fd23e (diff)
upd: window size limits
Diffstat (limited to 'lwjgl3')
-rw-r--r--lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java b/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java
index e63402b..4767186 100644
--- a/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java
+++ b/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java
@@ -26,6 +26,7 @@ public class Lwjgl3Launcher {
//// useful for testing performance, but can also be very stressful to some hardware.
//// You may also need to configure GPU drivers to fully disable Vsync; this can cause screen tearing.
configuration.setWindowedMode(800, 600);
+ configuration.setWindowSizeLimits(800, 600, 32767, 32767);
//// You can change these files; they are in lwjgl3/src/main/resources/ .
configuration.setWindowIcon("libgdx128.png", "libgdx64.png", "libgdx32.png", "libgdx16.png");
return configuration;