Skip to content

Commit

Permalink
fix: fixed window aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Jun 24, 2024
1 parent 50825f8 commit 17db5c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tetanes/src/nes/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ impl Renderer {
let gui = self.gui.borrow();
let aspect_ratio = gui.aspect_ratio(cfg);
let mut window_size = cfg.window_size_for_scale(aspect_ratio, scale);
window_size.x *= aspect_ratio;
window_size.y += gui.menu_height;
window_size
}
Expand Down

0 comments on commit 17db5c8

Please sign in to comment.