mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-02 17:26:35 +01:00
(svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter
This commit is contained in:
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
Block a user