v0.8.0: forced a minimum stored value on window resolution

This commit is contained in:
Evan Debenham 2019-11-13 12:24:43 -05:00
parent baea1ecf03
commit 458b21d5c6

View File

@ -267,8 +267,8 @@ public class SPDSettings extends GameSettings {
public static Point windowResolution(){
return new Point(
getInt( KEY_WINDOW_WIDTH, 960 ),
getInt( KEY_WINDOW_HEIGHT, 640 )
getInt( KEY_WINDOW_WIDTH, 960, 960, Integer.MAX_VALUE ),
getInt( KEY_WINDOW_HEIGHT, 640, 640, Integer.MAX_VALUE )
);
}