0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-24 06:45:11 +00:00

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

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