diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-08 23:42:50 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-08 23:42:50 -0500 |
| commit | b089bc20865a98be2f42dac7f5d35deff5efb33a (patch) | |
| tree | 1ef9111cf1e16563f4cfd5554289827f10daf3eb /game | |
| parent | graphics: set minimum window size (diff) | |
| download | DungeonCrawl-b089bc20865a98be2f42dac7f5d35deff5efb33a.tar.gz DungeonCrawl-b089bc20865a98be2f42dac7f5d35deff5efb33a.tar.bz2 DungeonCrawl-b089bc20865a98be2f42dac7f5d35deff5efb33a.zip | |
graphics: have window default to minimum size
Diffstat (limited to 'game')
| -rw-r--r-- | game/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/main.rs b/game/src/main.rs index 3764c6a..df94ea4 100644 --- a/game/src/main.rs +++ b/game/src/main.rs @@ -3,7 +3,7 @@ use graphics::*; fn main() -> Result<()> { // Load the window - let mut window = Window::new(720, 480, "game")?; + let mut window = Window::new_default()?; // Initial game state let mut dungeon = Dungeon::new(); |