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
+4 -3
View File
@@ -150,7 +150,7 @@ void QTopRendererWnd::UpdateContent(int flags)
}
//////////////////////////////////////////////////////////////////////////
void QTopRendererWnd::Draw(DisplayContext& dc)
void QTopRendererWnd::Draw([[maybe_unused]] DisplayContext& dc)
{
FUNCTION_PROFILER(GetIEditor()->GetSystem(), PROFILE_EDITOR);
@@ -165,7 +165,8 @@ void QTopRendererWnd::Draw(DisplayContext& dc)
////////////////////////////////////////////////////////////////////////
// Render the 2D map
////////////////////////////////////////////////////////////////////////
if (!m_terrainTextureId)
// ToDo: Remove TopRendererWnd or update to work with Atom: LYN-3671
/*if (!m_terrainTextureId)
{
//GL_BGRA_EXT
if (m_terrainTexture.IsValid())
@@ -238,7 +239,7 @@ void QTopRendererWnd::Draw(DisplayContext& dc)
dc.DepthTestOn();
Q2DViewport::Draw(dc);
Q2DViewport::Draw(dc);*/
}
//////////////////////////////////////////////////////////////////////////