Use borderless windowed mode when toggling to full-screen from an initially windowed stream. Fixes #248

This commit is contained in:
Cameron Gutman 2019-06-23 13:29:57 -07:00
parent fc849fb51a
commit 524cc97f51

View File

@ -442,11 +442,11 @@ bool Session::initialize()
switch (m_Preferences->windowMode)
{
default:
case StreamingPreferences::WM_FULLSCREEN_DESKTOP:
m_FullScreenFlag = SDL_WINDOW_FULLSCREEN_DESKTOP;
break;
case StreamingPreferences::WM_FULLSCREEN:
default:
m_FullScreenFlag = SDL_WINDOW_FULLSCREEN;
break;
}