mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix render surface when using Render to Main and debugger
This fixes a regression introduced by de632fc9c
.
This commit is contained in:
parent
25a516bae3
commit
1de17d20e1
@ -603,7 +603,7 @@ void CFrame::OnRenderParentResize(wxSizeEvent& event)
|
||||
if (Core::GetState() != Core::State::Uninitialized)
|
||||
{
|
||||
int width, height;
|
||||
m_render_frame->GetClientSize(&width, &height);
|
||||
m_render_parent->GetClientSize(&width, &height);
|
||||
if (!SConfig::GetInstance().bRenderToMain && !RendererIsFullscreen() &&
|
||||
!m_render_frame->IsMaximized() && !m_render_frame->IsIconized())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user