fix fullscreen getting "stuck"

This commit is contained in:
Glenn Maynard
2002-12-28 21:37:18 +00:00
parent 387905a785
commit 9aa85c2293
3 changed files with 16 additions and 3 deletions
+1 -3
View File
@@ -410,9 +410,7 @@ static void GameLoop()
case SDL_QUIT:
return; /* exit the main loop */
case SDL_VIDEORESIZE:
PREFSMAN->m_iDisplayWidth = event.resize.w;
PREFSMAN->m_iDisplayHeight = event.resize.h;
ApplyGraphicOptions();
DISPLAY->ResolutionChanged(event.resize.w, event.resize.h);
break;
}
}