mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Constify frame-image pointer in API.
This commit is contained in:
@@ -106,7 +106,7 @@ void ___tracy_emit_memory_free_callstack( const void* ptr, int depth );
|
||||
void ___tracy_emit_frame_mark( const char* name );
|
||||
void ___tracy_emit_frame_mark_start( const char* name );
|
||||
void ___tracy_emit_frame_mark_end( const char* name );
|
||||
void ___tracy_emit_frame_image( void* image, uint16_t w, uint16_t h, uint8_t offset, int flip );
|
||||
void ___tracy_emit_frame_image( const void* image, uint16_t w, uint16_t h, uint8_t offset, int flip );
|
||||
|
||||
#define TracyCFrameMark ___tracy_emit_frame_mark( 0 );
|
||||
#define TracyCFrameMarkNamed( name ) ___tracy_emit_frame_mark( name );
|
||||
|
||||
Reference in New Issue
Block a user