From 52883db91b26171d556adfaa3d4d90bce72ddf52 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 12 Nov 2013 18:31:12 +0000 Subject: [PATCH] (svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter --- src/video/sdl_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index a95e863320..ba0b076402 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 */