Address LLM review comments

This commit is contained in:
nyanpasu64
2026-08-01 18:15:27 -07:00
parent 71098f707c
commit 0558301e49
2 changed files with 6 additions and 4 deletions
+4 -4
View File
@@ -4749,10 +4749,10 @@ TRACY_API void ___tracy_emit_zone_text_fmt( TracyCZoneCtx ctx, const char* fmt,
TracyQueueCommitC( zoneValidationThread );
}
#endif
TracyQueuePrepare( tracy::QueueType::ZoneText );
TracyQueuePrepareC( tracy::QueueType::ZoneText );
tracy::MemWrite( &item->zoneTextFat.text, (uint64_t)ptr );
tracy::MemWrite( &item->zoneTextFat.size, (uint16_t)size );
TracyQueueCommit( zoneTextFatThread );
TracyQueueCommitC( zoneTextFatThread );
}
TRACY_API void ___tracy_emit_zone_name( TracyCZoneCtx ctx, const char* txt, size_t size )
@@ -4798,10 +4798,10 @@ TRACY_API void ___tracy_emit_zone_name_fmt( TracyCZoneCtx ctx, const char* fmt,
TracyQueueCommitC( zoneValidationThread );
}
#endif
TracyQueuePrepare( tracy::QueueType::ZoneName );
TracyQueuePrepareC( tracy::QueueType::ZoneName );
tracy::MemWrite( &item->zoneTextFat.text, (uint64_t)ptr );
tracy::MemWrite( &item->zoneTextFat.size, (uint16_t)size );
TracyQueueCommit( zoneTextFatThread );
TracyQueueCommitC( zoneTextFatThread );
}
TRACY_API void ___tracy_emit_zone_color( TracyCZoneCtx ctx, uint32_t color ) {
+2
View File
@@ -58,7 +58,9 @@ typedef const void* TracyCSharedLockCtx;
#define TracyCZoneNC(c,x,y,z)
#define TracyCZoneEnd(c)
#define TracyCZoneText(c,x,y)
#define TracyCZoneTextF(c,x,...)
#define TracyCZoneName(c,x,y)
#define TracyCZoneNameF(c,x,...)
#define TracyCZoneColor(c,x)
#define TracyCZoneValue(c,x)