v0.8.0: forced a minimum stored value on window resolution
This commit is contained in:
parent
baea1ecf03
commit
458b21d5c6
|
@ -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 )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user