Fixed MT 06209 (part 3)

- fixed switchres option
This commit is contained in:
ImJezze 2016-05-15 12:05:05 +02:00
parent f911dfcc39
commit a6ccd3bc23

View File

@ -838,7 +838,7 @@ try_again:
m_presentation.MultiSampleType = D3DMULTISAMPLE_NONE;
m_presentation.SwapEffect = D3DSWAPEFFECT_DISCARD;
m_presentation.hDeviceWindow = win->platform_window<HWND>();
m_presentation.Windowed = true; // !win->fullscreen() || win->win_has_menu();
m_presentation.Windowed = !win->fullscreen() || !video_config.switchres || win->win_has_menu();
m_presentation.EnableAutoDepthStencil = FALSE;
m_presentation.AutoDepthStencilFormat = D3DFMT_D16;
m_presentation.Flags = 0;