diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-24 11:28:13 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-01-30 21:43:59 +0100 |
commit | e41ec5b42eef7121f07a802178855b3854d857ee (patch) | |
tree | 6d12d4680b1d4d4e1b894fa705525d938a825ba5 /src/video | |
parent | 678031f9b3f3dd56e6a40d08bdd74578f48a471d (diff) | |
download | openttd-e41ec5b42eef7121f07a802178855b3854d857ee.tar.xz |
Codechange: [SDL2] Minor code cleanup to remove silly variable
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/sdl2_v.cpp | 5 |
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; } |