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:
parent
a967525caf
commit
2f7bfd4122
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue