mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Missed one
svn-id: r8536
This commit is contained in:
parent
a09e7a5615
commit
d5d61a5e05
@ -294,6 +294,8 @@ void OSystem_SDL_OpenGL::hotswap_gfx_mode() {
|
||||
if (!_screen)
|
||||
return;
|
||||
|
||||
StackLock lock(_mutex); // Lock the mutex until this function ends
|
||||
|
||||
// Keep around the old _screen & _tmpscreen so we can restore the screen data
|
||||
// after the mode switch.
|
||||
SDL_Surface *old_screen = _screen;
|
||||
|
Loading…
Reference in New Issue
Block a user