Skip to content

Commit bef42ca

Browse files
authored
Update PresentMonTraceConsumer.cpp
1 parent 4d5fcdc commit bef42ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PresentData/PresentMonTraceConsumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ void PMTraceConsumer::HandleWin32kEvent(EVENT_RECORD* pEventRecord)
15751575
// ends up marking the second frame in the burst as dropped.
15761576
// To fix this issue, we mark the frame as discarded only if
15771577
// the frame already doesn’t have valid ScreenTime.
1578-
if (HasScreenTime(hWndIter->second)) {
1578+
if (!HasScreenTime(hWndIter->second)) {
15791579
prevPresent->FinalState = PresentResult::Discarded;
15801580
}
15811581

0 commit comments

Comments
 (0)