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:
@@ -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);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user