Skip to content

Commit 46a7355

Browse files
Fix for animation error.
1 parent 70ccd9e commit 46a7355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IntelPresentMon/PresentMonMiddleware/ConcreteMiddleware.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ static void ReportMetricsHelper(
884884
// If the simulation start time is less than the last displayed simulation start time it means
885885
// we are transitioning to app provider events.
886886
if (simStartTime > chain->mLastDisplayedSimStartTime) {
887-
metrics.mAnimationError = pmSession.TimestampDeltaToMilliSeconds(screenTime - chain->mLastDisplayedScreenTime,
887+
metrics.mAnimationError = pmSession.TimestampDeltaToMilliSeconds(screenTime - chain->mLastDisplayedAppScreenTime,
888888
simStartTime - chain->mLastDisplayedSimStartTime);
889889
chain->mAnimationError.push_back(std::abs(metrics.mAnimationError));
890890
}

0 commit comments

Comments
 (0)