Vararg functions can't be inlined.

This commit is contained in:
Bartosz Taudul 2024-08-08 19:55:32 +02:00
parent b18796c1c0
commit ee65a45bef
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -126,7 +126,7 @@ public:
TracyQueueCommit( zoneTextFatThread ); TracyQueueCommit( zoneTextFatThread );
} }
tracy_force_inline void TextFmt( const char* fmt, ... ) void TextFmt( const char* fmt, ... )
{ {
if( !m_active ) return; if( !m_active ) return;
#ifdef TRACY_ON_DEMAND #ifdef TRACY_ON_DEMAND
@ -165,7 +165,7 @@ public:
TracyQueueCommit( zoneTextFatThread ); TracyQueueCommit( zoneTextFatThread );
} }
tracy_force_inline void NameFmt( const char* fmt, ... ) void NameFmt( const char* fmt, ... )
{ {
if( !m_active ) return; if( !m_active ) return;
#ifdef TRACY_ON_DEMAND #ifdef TRACY_ON_DEMAND