From e41ec5b42eef7121f07a802178855b3854d857ee Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 24 Jan 2021 11:28:13 +0100 Subject: Codechange: [SDL2] Minor code cleanup to remove silly variable --- src/video/sdl2_v.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/video/sdl2_v.cpp b/src/video/sdl2_v.cpp index a16061d5f..ce1917ccc 100644 --- a/src/video/sdl2_v.cpp +++ b/src/video/sdl2_v.cpp @@ -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; } -- cgit v1.2.3-54-g00ecf