From 9faaed5d47550bad7df97c112427f046d9677e2d Mon Sep 17 00:00:00 2001 From: Louis Capitanchik <contact@louiscap.co> Date: Mon, 3 Oct 2022 00:34:05 +0100 Subject: [PATCH] Remove default resolution scale --- game_core/Cargo.toml | 4 ++++ game_core/src/system/resources.rs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/game_core/Cargo.toml b/game_core/Cargo.toml index f787c4b..48018ea 100644 --- a/game_core/Cargo.toml +++ b/game_core/Cargo.toml @@ -5,6 +5,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +default = [] +no-aspect = [] + [dependencies] anyhow.workspace = true log.workspace = true diff --git a/game_core/src/system/resources.rs b/game_core/src/system/resources.rs index 9ac587c..cab2bb4 100644 --- a/game_core/src/system/resources.rs +++ b/game_core/src/system/resources.rs @@ -11,8 +11,8 @@ impl Plugin for DefaultResourcesPlugin { let (width, height) = initial_size(); app.insert_resource(WindowDescriptor { - width: width * 3.0, - height: height * 3.0, + width, + height, resizable: true, title: String::from("Ludum Dare 51"), present_mode: PresentMode::AutoNoVsync, -- GitLab