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

This commit is contained in:
Sigrid Solveig Haflínudóttir 2021-12-25 21:37:22 +01:00
parent a967525caf
commit 2f7bfd4122
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}