mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00: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()
|
||||
{
|
||||
return this->ChangeResolution(_screen.width, _screen.height);
|
||||
return CreateMainSurface(_screen.width, _screen.height);
|
||||
}
|
||||
|
||||
#endif /* WITH_SDL */
|
||||
|
Loading…
Reference in New Issue
Block a user