... forgot to disable debugging code <_<

This commit is contained in:
dani 2023-07-09 23:46:15 +00:00
parent 9b59214c1d
commit 0d209125f0
1 changed files with 3 additions and 2 deletions

View File

@ -238,8 +238,9 @@ pub fn run<T: Game + 'static>(width: i32, height: i32, target_fps: u32) {
.enumerate()
.for_each(|(y, chunk)| {
for x in 0..width {
//let p = window_state.palette[screen_data[x + y * width] as usize];
let p = 0;
let p =
window_state.palette[screen_data[x + y * width] as usize];
//let p = 0;
for scaley in 0..scale {
for scalex in 0..scale {
let sx = x * scale + scalex;