mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Handle Lost_Event in Vsync callback on Windows.
This commit is contained in:
@@ -238,6 +238,10 @@ void WINAPI EventRecordCallbackVsync( PEVENT_RECORD record )
|
||||
#endif
|
||||
|
||||
const auto& hdr = record->EventHeader;
|
||||
|
||||
// Check for Lost_Event (6a399ae0-4bc6-4de9-870b-3657f8947e7e)
|
||||
if( hdr.ProviderId.Data1 == 0x6A399AE0 ) return;
|
||||
|
||||
assert( hdr.ProviderId.Data1 == 0x802EC45A );
|
||||
assert( hdr.EventDescriptor.Id == 0x0011 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user