1
0
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:
Alexander 'z33ky' Hirsch
2019-07-13 12:33:55 +02:00
parent a1ce5fc1f6
commit c6e8dc8d63
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ public:
GetProfiler().m_serialLock.unlock();
}
static tracy_force_inline void SendFrameImage( void* image, uint16_t w, uint16_t h, uint8_t offset, bool flip )
static tracy_force_inline void SendFrameImage( const void* image, uint16_t w, uint16_t h, uint8_t offset, bool flip )
{
auto& profiler = GetProfiler();
#ifdef TRACY_ON_DEMAND