From 2f7bfd412218a52c42de1ba7182803b694df6ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sat, 25 Dec 2021 21:37:22 +0100 Subject: [PATCH] emu: set_zoom: window is always there, remove useless check --- src/uxnemu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/uxnemu.c b/src/uxnemu.c index 244133c..2fc88e0 100644 --- 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); }