mirror of https://github.com/OpenTTD/OpenTTD
Codechange: [SDL2] Minor code cleanup to remove silly variable
parent
678031f9b3
commit
e41ec5b42e
|
@ -375,13 +375,10 @@ bool VideoDriver_SDL::CreateMainSurface(uint w, uint h, bool resize)
|
||||||
* appropriate event to know this. */
|
* appropriate event to know this. */
|
||||||
if (_fullscreen) _cursor.in_window = true;
|
if (_fullscreen) _cursor.in_window = true;
|
||||||
|
|
||||||
Blitter *blitter = BlitterFactory::GetCurrentBlitter();
|
BlitterFactory::GetCurrentBlitter()->PostResize();
|
||||||
blitter->PostResize();
|
|
||||||
|
|
||||||
InitPalette();
|
InitPalette();
|
||||||
|
|
||||||
GameSizeChanged();
|
GameSizeChanged();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue