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

Signed-off-by: moraaar <moraaar@amazon.com>
main
moraaar 4 years ago committed by GitHub
parent c9ff634080
commit 7cfde884d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) #if defined(VEG_PROFILE_ENABLED)
AZStd::unordered_map<AreaId, AreaDebugDisplayData> areaDebugDisplayDataMap; AZStd::unordered_map<AreaId, AreaDebugDisplayData> areaDebugDisplayDataMap;

Loading…
Cancel
Save