summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/video')
-rw-r--r--src/video/sdl2_v.cpp5
1 files changed, 1 insertions, 4 deletions
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;
}