summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-12 18:31:12 +0000
committerrubidium <rubidium@openttd.org>2013-11-12 18:31:12 +0000
commit52883db91b26171d556adfaa3d4d90bce72ddf52 (patch)
tree4c270025d29072d362a0e3c93db6c441ad7ad7f5 /src/video
parent17eb3ee9df210e5a8777fcbc289c2756ed56ef14 (diff)
downloadopenttd-52883db91b26171d556adfaa3d4d90bce72ddf52.tar.xz
(svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter
Diffstat (limited to 'src/video')
-rw-r--r--src/video/sdl_v.cpp2
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 */