// when fullscreen, remain fullscreen and resize to the dimensions of the new screen
RESOLUTION newRes = (RESOLUTION) g_Windowing.DesktopResolution(g_Windowing.GetCurrentScreen());
if (newRes != g_graphicsContext.GetVideoResolution())
- {
CDisplaySettings::Get().SetCurrentResolution(newRes, true);
- g_graphicsContext.SetVideoResolution(newRes);
- }
}
else
#endif
if (g_graphicsContext.IsValidResolution(res))
{
CDisplaySettings::Get().SetCurrentResolution(res, true);
- g_graphicsContext.SetVideoResolution(res);
g_application.ReloadSkin();
}
}