Skip to content

Commit a6ccd3b

Browse files
committed
Fixed MT 06209 (part 3)
- fixed switchres option
1 parent f911dfc commit a6ccd3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osd/modules/render/drawd3d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ int renderer_d3d9::device_create(HWND device_hwnd)
838838
m_presentation.MultiSampleType = D3DMULTISAMPLE_NONE;
839839
m_presentation.SwapEffect = D3DSWAPEFFECT_DISCARD;
840840
m_presentation.hDeviceWindow = win->platform_window<HWND>();
841-
m_presentation.Windowed = true; // !win->fullscreen() || win->win_has_menu();
841+
m_presentation.Windowed = !win->fullscreen() || !video_config.switchres || win->win_has_menu();
842842
m_presentation.EnableAutoDepthStencil = FALSE;
843843
m_presentation.AutoDepthStencilFormat = D3DFMT_D16;
844844
m_presentation.Flags = 0;

0 commit comments

Comments
 (0)