From b089bc20865a98be2f42dac7f5d35deff5efb33a Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 8 Nov 2025 23:42:50 -0500 Subject: graphics: have window default to minimum size --- graphics/src/render.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/src/render.rs') diff --git a/graphics/src/render.rs b/graphics/src/render.rs index 28631b2..18dc5e3 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -69,10 +69,10 @@ const UI_HEIGHT: u16 = (UI_PADDING + FONT_SIZE) * 3; const TILE_SIZE: u16 = TEXTURE_SIZE * 3; /// The render height of the screen -const RENDER_HEIGHT: u16 = UI_HEIGHT + (TILE_SIZE * VIEW_DISTANCE); +pub const RENDER_HEIGHT: u16 = UI_HEIGHT + (TILE_SIZE * VIEW_DISTANCE); /// The render width of the screen -const RENDER_WIDTH: u16 = RENDER_HEIGHT * 4 / 3; +pub const RENDER_WIDTH: u16 = RENDER_HEIGHT * 4 / 3; // Tile atlas.bmp textures const ATLAS_WALL_SIDE: (u16, u16) = (0, 0); -- cgit v1.2.3-freya