Skip to content

Commit be23d93

Browse files
committed
Handle Lost_Event in Vsync callback on Windows.
1 parent a11c3d4 commit be23d93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/client/TracySysTrace.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ void WINAPI EventRecordCallbackVsync( PEVENT_RECORD record )
238238
#endif
239239

240240
const auto& hdr = record->EventHeader;
241+
242+
// Check for Lost_Event (6a399ae0-4bc6-4de9-870b-3657f8947e7e)
243+
if( hdr.ProviderId.Data1 == 0x6A399AE0 ) return;
244+
241245
assert( hdr.ProviderId.Data1 == 0x802EC45A );
242246
assert( hdr.EventDescriptor.Id == 0x0011 );
243247

0 commit comments

Comments
 (0)