Missed one

svn-id: r8536
This commit is contained in:
Travis Howell 2003-06-17 16:06:17 +00:00
parent a09e7a5615
commit d5d61a5e05

View File

@ -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;