We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5fcdc commit bef42caCopy full SHA for bef42ca
PresentData/PresentMonTraceConsumer.cpp
@@ -1575,7 +1575,7 @@ void PMTraceConsumer::HandleWin32kEvent(EVENT_RECORD* pEventRecord)
1575
// ends up marking the second frame in the burst as dropped.
1576
// To fix this issue, we mark the frame as discarded only if
1577
// the frame already doesn’t have valid ScreenTime.
1578
- if (HasScreenTime(hWndIter->second)) {
+ if (!HasScreenTime(hWndIter->second)) {
1579
prevPresent->FinalState = PresentResult::Discarded;
1580
}
1581
0 commit comments