Merge pull request #6407 from leoetlino/master
Fix render surface when using Render to Main and debugger (regression fix)
This commit is contained in:
commit
cc7d7c9a49
|
@ -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