diff options
-rw-r--r-- | modules/egl/teglGetFrameTimestampsTests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/egl/teglGetFrameTimestampsTests.cpp b/modules/egl/teglGetFrameTimestampsTests.cpp index 642262d2a..3c0c02f3d 100644 --- a/modules/egl/teglGetFrameTimestampsTests.cpp +++ b/modules/egl/teglGetFrameTimestampsTests.cpp @@ -263,7 +263,8 @@ void verifyNeighboringFrames (const FrameTimes& frame1, const FrameTimes& frame2 check_lt(result, frame1.dequeueReady, frame2.dequeueReady, "Dequeue ready times not monotonic."); // GPU timeline. - check_lt(result, frame1.renderingComplete, frame2.renderingComplete, "Rendering complete times not monotonic."); + // Same rendering complete time is fine. + check_le(result, frame1.renderingComplete, frame2.renderingComplete, "Rendering complete times not monotonic."); if (timestampValid(frame1.firstCompositionGpuFinished) && timestampValid(frame2.firstCompositionGpuFinished)) check_lt(result, frame1.firstCompositionGpuFinished, frame2.firstCompositionGpuFinished, "Composition GPU work complete times not monotonic."); |