mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 03:46:42 +01:00
Renderer: Don't attempt to switch to exclusive fullscreen if "render to main" is enabled.
This commit is contained in:
parent
9064bf147d
commit
3400871992
@ -938,7 +938,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangl
|
|||||||
SetWindowSize(fbWidth, fbHeight);
|
SetWindowSize(fbWidth, fbHeight);
|
||||||
|
|
||||||
const bool windowResized = CheckForResize();
|
const bool windowResized = CheckForResize();
|
||||||
const bool fullscreen = g_ActiveConfig.bFullscreen;
|
const bool fullscreen = g_ActiveConfig.bFullscreen && !SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain;
|
||||||
|
|
||||||
bool fullscreen_changed = s_last_fullscreen_mode != fullscreen;
|
bool fullscreen_changed = s_last_fullscreen_mode != fullscreen;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user