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
+3 -2
View File
@@ -2018,7 +2018,8 @@ namespace Audio
{
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Audio);
if (IRenderAuxGeom* pAuxGeom = (g_audioCVars.m_nDrawAudioDebug > 0 && gEnv->pRenderer) ? gEnv->pRenderer->GetIRenderAuxGeom() : nullptr)
// ToDo: Update to work with Atom? LYN-3677
/*if (g_audioCVars.m_nDrawAudioDebug > 0)
{
DrawAudioObjectDebugInfo(*pAuxGeom); // needs to be called first so that the rest of the labels are printed
// on top (Draw2dLabel doesn't provide a way set which labels are printed on top)
@@ -2108,7 +2109,7 @@ namespace Audio
DrawATLComponentDebugInfo(*pAuxGeom, fPosX, fPosY);
pAuxGeom->Commit(7);
}
}*/
}
///////////////////////////////////////////////////////////////////////////////////////////////////