small fix from previous commit

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-23 18:06:27 -07:00
parent 07ea4edbc2
commit 91077b0dcd
@@ -46,7 +46,6 @@ namespace AZ
#if AZ_TRAIT_ATOM_METAL_COUNTER_SAMPLING
case RHI::QueryType::Timestamp:
{
NSError* error = nil;
NSUInteger timeStampCounterIndex = [counterSets indexOfObjectPassingTest:^BOOL(id<MTLCounterSet> mtlCounterSet, NSUInteger idx, BOOL *stop)
{
if ([mtlCounterSet.name isEqualToString:MTLCommonCounterSetTimestamp])