Codechange: [SDL2] Minor code cleanup to remove silly variable

This commit is contained in:
Patric Stout 2021-01-24 11:28:13 +01:00 committed by Patric Stout
parent 678031f9b3
commit e41ec5b42e

View File

@ -375,13 +375,10 @@ bool VideoDriver_SDL::CreateMainSurface(uint w, uint h, bool resize)
* appropriate event to know this. */
if (_fullscreen) _cursor.in_window = true;
Blitter *blitter = BlitterFactory::GetCurrentBlitter();
blitter->PostResize();
BlitterFactory::GetCurrentBlitter()->PostResize();
InitPalette();
GameSizeChanged();
return true;
}