uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 2f7bfd412218a52c42de1ba7182803b694df6ba4
parent a967525cafbe17b2f64cc427ed588228098745dc
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Sat, 25 Dec 2021 21:37:22 +0100

emu: set_zoom: window is always there, remove useless check

Diffstat:
Msrc/uxnemu.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -99,8 +99,6 @@ static void set_zoom(Uint8 scale) { zoom = SDL_clamp(scale, 1, 3); - if(!gWindow) - return; set_window_size(gWindow, (ppu.width + PAD * 2) * zoom, (ppu.height + PAD * 2) * zoom); }