Fix unused variable warning in release configuration: DebugComponent::DrawInstanceDebug (#2085)

Signed-off-by: moraaar <moraaar@amazon.com>
This commit is contained in:
moraaar
2021-07-12 13:10:20 +01:00
committed by GitHub
parent c9ff634080
commit 7cfde884d9
@@ -185,7 +185,7 @@ void DebugComponent::DisplayEntityViewport(const AzFramework::ViewportInfo& view
}
}
void DebugComponent::DrawInstanceDebug(AzFramework::DebugDisplayRequests& debugDisplay)
void DebugComponent::DrawInstanceDebug([[maybe_unused]] AzFramework::DebugDisplayRequests& debugDisplay)
{
#if defined(VEG_PROFILE_ENABLED)
AZStd::unordered_map<AreaId, AreaDebugDisplayData> areaDebugDisplayDataMap;