From a6ccd3bc23dc162b7f0f04b0766dfaed9c326c2c Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sun, 15 May 2016 12:05:05 +0200 Subject: [PATCH] Fixed MT 06209 (part 3) - fixed switchres option --- src/osd/modules/render/drawd3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/modules/render/drawd3d.cpp b/src/osd/modules/render/drawd3d.cpp index 1aadd46a6e2..5e6e7f5b255 100644 --- a/src/osd/modules/render/drawd3d.cpp +++ b/src/osd/modules/render/drawd3d.cpp @@ -838,7 +838,7 @@ try_again: m_presentation.MultiSampleType = D3DMULTISAMPLE_NONE; m_presentation.SwapEffect = D3DSWAPEFFECT_DISCARD; m_presentation.hDeviceWindow = win->platform_window(); - 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;