mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Pack FrameImage struct.
This commit is contained in:
parent
c06ea4a3e8
commit
aeb3bc410b
@ -486,6 +486,18 @@ struct FrameEvent
|
||||
|
||||
enum { FrameEventSize = sizeof( FrameEvent ) };
|
||||
|
||||
|
||||
struct FrameImage
|
||||
{
|
||||
short_ptr<const char> ptr;
|
||||
uint32_t csz;
|
||||
uint16_t w, h;
|
||||
uint32_t frameRef;
|
||||
uint8_t flip;
|
||||
};
|
||||
|
||||
enum { FrameImageSize = sizeof( FrameImage ) };
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
@ -627,16 +639,6 @@ struct SourceLocationComparator
|
||||
}
|
||||
};
|
||||
|
||||
struct FrameImage
|
||||
{
|
||||
short_ptr<const char> ptr;
|
||||
uint32_t csz;
|
||||
uint16_t w, h;
|
||||
uint32_t frameRef;
|
||||
uint8_t flip;
|
||||
};
|
||||
|
||||
enum { FrameImageSize = sizeof( FrameImage ) };
|
||||
|
||||
struct ContextSwitch
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user