mirror of https://github.com/OpenTTD/OpenTTD
(svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter
parent
17eb3ee9df
commit
52883db91b
|
@ -837,7 +837,7 @@ bool VideoDriver_SDL::ToggleFullscreen(bool fullscreen)
|
||||||
|
|
||||||
bool VideoDriver_SDL::AfterBlitterChange()
|
bool VideoDriver_SDL::AfterBlitterChange()
|
||||||
{
|
{
|
||||||
return this->ChangeResolution(_screen.width, _screen.height);
|
return CreateMainSurface(_screen.width, _screen.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* WITH_SDL */
|
#endif /* WITH_SDL */
|
||||||
|
|
Loading…
Reference in New Issue