Remove (almost) all references to pRenderer (#651)

Remove all references to pRenderer, except from the DebugDraw and LyShine Gems that are still being updated.
This commit is contained in:
bosnichd
2021-05-10 10:05:15 -06:00
committed by GitHub
parent 4a2e6a77b5
commit 440c40e490
191 changed files with 118 additions and 23548 deletions
-21
View File
@@ -643,27 +643,6 @@ void CLayoutViewPane::SetFullscren(bool f)
m_bFullscreen = f;
}
//////////////////////////////////////////////////////////////////////////
void CLayoutViewPane::SetFullscreenViewport(bool b)
{
if (!m_viewport)
{
return;
}
if (b)
{
m_viewport->setParent(0);
GetIEditor()->GetRenderer()->ChangeResolution(800, 600, 32, 80, true, false);
}
else
{
m_viewport->setParent(this);
GetIEditor()->GetRenderer()->ChangeResolution(800, 600, 32, 80, false, false);
}
}
//////////////////////////////////////////////////////////////////////////
void CLayoutViewPane::SetFocusToViewport()
{