From 043b441767051d5dfe12cb101526bf2e915cbed2 Mon Sep 17 00:00:00 2001 From: OetkenPurveyorOfCode Date: Wed, 18 Oct 2023 23:43:16 +0200 Subject: [PATCH] Increase Default Window Size --- Cargo.toml | 5 ++++- src/main.rs | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index de830a5..b694c86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,7 @@ edition = "2021" [dependencies] minifb = "0.23" -rayon = "1.5" \ No newline at end of file +rayon = "1.5" + +[profile.release] +debug=true diff --git a/src/main.rs b/src/main.rs index e6b59b5..60cc8e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,8 @@ extern crate minifb; use minifb::{Key, MouseButton, MouseMode, Scale, ScaleMode, Window, WindowOptions}; use rayon::prelude::*; -const WIDTH: usize = 640; -const HEIGHT: usize = 360; +const WIDTH: usize = 1200; +const HEIGHT: usize = 800; #[derive(Default, Debug)] struct Rect {