1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Merged in z33ky/tracy/const-frame-image (pull request #37)

Constify frame-image pointer in API.
This commit is contained in:
Alex
2019-07-13 13:09:21 +00:00
committed by Bartosz Taudul
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