diff --git a/PresentData/PresentMonTraceConsumer.cpp b/PresentData/PresentMonTraceConsumer.cpp index 47ffc084..355bbdfa 100644 --- a/PresentData/PresentMonTraceConsumer.cpp +++ b/PresentData/PresentMonTraceConsumer.cpp @@ -987,10 +987,11 @@ void PMTraceConsumer::HandleDXGKEvent(EVENT_RECORD* pEventRecord) // this the present screen time. if (FlipEntryStatusAfterFlip != (uint32_t) Microsoft_Windows_DxgKrnl::FlipEntryStatus::FlipWaitHSync) { - SetScreenTime(present, hdr.TimeStamp.QuadPart + present->FlipDelay); // Apply Nvidia FlipDelay, if any, to the presentEvent mNvTraceConsumer.ApplyFlipDelay(present.get(), hdr.ThreadId); + SetScreenTime(present, hdr.TimeStamp.QuadPart + present->FlipDelay); + if (present->PresentMode == PresentMode::Hardware_Legacy_Flip) { CompletePresent(present); }