diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-09 15:06:32 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-09 15:06:32 -0500 |
| commit | 25b330efe117f61ddde038c71b34a2f579f78af6 (patch) | |
| tree | c4345e9cc8125ce726dbd96e378963110c89088f /graphics | |
| parent | graphics: remove unused vars (diff) | |
| download | DungeonCrawl-25b330efe117f61ddde038c71b34a2f579f78af6.tar.gz DungeonCrawl-25b330efe117f61ddde038c71b34a2f579f78af6.tar.bz2 DungeonCrawl-25b330efe117f61ddde038c71b34a2f579f78af6.zip | |
minor changes
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/src/lib.rs | 3 | ||||
| -rw-r--r-- | graphics/src/render.rs | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 2051177..5c1161b 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -51,6 +51,9 @@ impl Window { .vsync() .build(); + // update window min size + handle.set_window_min_size(width.into(), height.into()); + // load audio let audio = Audio::load()?; diff --git a/graphics/src/render.rs b/graphics/src/render.rs index 8a8aeff..1888ef4 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -177,9 +177,6 @@ impl Renderer { RENDER_HEIGHT as u32, )?; - // update window min size - handle.set_window_min_size(RENDER_WIDTH.into(), RENDER_HEIGHT.into()); - Ok(Self { textures, tilemap_fg, |