diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/osd/modules/render/drawd3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/render/drawd3d.cpp b/src/osd/modules/render/drawd3d.cpp index 426ea067590..74736114c0c 100644 --- a/src/osd/modules/render/drawd3d.cpp +++ b/src/osd/modules/render/drawd3d.cpp @@ -578,7 +578,7 @@ int renderer_d3d9::initialize() return false; } - // create the device immediately for the full screen case (defer for window mode in update_window_size()) + // create the device immediately for the full screen case (defer for window mode) auto win = assert_window(); if (win->fullscreen() && device_create(win->main_window()->platform_window<HWND>())) { @@ -841,7 +841,7 @@ try_again: m_presentation.MultiSampleType = D3DMULTISAMPLE_NONE; m_presentation.SwapEffect = D3DSWAPEFFECT_DISCARD; m_presentation.hDeviceWindow = win->platform_window<HWND>(); - m_presentation.Windowed = !win->fullscreen() || !video_config.switchres || win->win_has_menu(); + m_presentation.Windowed = !win->fullscreen() || win->win_has_menu(); m_presentation.EnableAutoDepthStencil = FALSE; m_presentation.AutoDepthStencilFormat = D3DFMT_D16; m_presentation.Flags = 0; |