We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f911dfc commit a6ccd3bCopy full SHA for a6ccd3b
src/osd/modules/render/drawd3d.cpp
@@ -838,7 +838,7 @@ int renderer_d3d9::device_create(HWND device_hwnd)
838
m_presentation.MultiSampleType = D3DMULTISAMPLE_NONE;
839
m_presentation.SwapEffect = D3DSWAPEFFECT_DISCARD;
840
m_presentation.hDeviceWindow = win->platform_window<HWND>();
841
- m_presentation.Windowed = true; // !win->fullscreen() || win->win_has_menu();
+ m_presentation.Windowed = !win->fullscreen() || !video_config.switchres || win->win_has_menu();
842
m_presentation.EnableAutoDepthStencil = FALSE;
843
m_presentation.AutoDepthStencilFormat = D3DFMT_D16;
844
m_presentation.Flags = 0;
0 commit comments