diff options
author | rubidium <rubidium@openttd.org> | 2013-11-12 18:31:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-12 18:31:12 +0000 |
commit | 52883db91b26171d556adfaa3d4d90bce72ddf52 (patch) | |
tree | 4c270025d29072d362a0e3c93db6c441ad7ad7f5 | |
parent | 17eb3ee9df210e5a8777fcbc289c2756ed56ef14 (diff) | |
download | openttd-52883db91b26171d556adfaa3d4d90bce72ddf52.tar.xz |
(svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter
-rw-r--r-- | src/video/sdl_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index a95e86332..ba0b07640 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -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 */ |