D3D: Allow borderless fullscreen to be turned on/off during gameplay.

This commit is contained in:
Jules Blok
2015-01-17 13:49:02 +01:00
parent 803bea5004
commit b87fddb027
2 changed files with 4 additions and 5 deletions

View File

@ -1398,8 +1398,7 @@ void CFrame::DoFullscreen(bool enable_fullscreen)
m_RenderFrame->Raise();
}
g_Config.bFullscreen = (!g_Config.ExclusiveFullscreenEnabled() ||
SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain) ? false : enable_fullscreen;
g_Config.bFullscreen = enable_fullscreen;
}
const CGameListCtrl *CFrame::GetGameListCtrl() const