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

Frame image packer doesn't care about width and height.

This commit is contained in:
Bartosz Taudul
2019-11-06 22:53:01 +01:00
parent 10a3516099
commit 46d33f45bf
2 changed files with 10 additions and 12 deletions
+2 -2
View File
@@ -409,8 +409,8 @@ public:
const FailureData& GetFailureData() const { return m_failureData; }
static const char* GetFailureString( Failure failure );
void PackFrameImage( char*& buf, size_t& bufsz, const char* image, uint16_t w, uint16_t h, uint32_t& csz ) const;
const char* PackFrameImage( const char* image, uint16_t w, uint16_t h, uint32_t& csz );
void PackFrameImage( char*& buf, size_t& bufsz, const char* image, uint32_t inBytes, uint32_t& csz ) const;
const char* PackFrameImage( const char* image, uint32_t inBytes, uint32_t& csz );
const char* UnpackFrameImage( const FrameImage& image );
private: