upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/xbox_present_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/test/xbox_present_test.cpp')
-rw-r--r--runtime/test/xbox_present_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/test/xbox_present_test.cpp b/runtime/test/xbox_present_test.cpp
index bc311a87e..5f026a61e 100644
--- a/runtime/test/xbox_present_test.cpp
+++ b/runtime/test/xbox_present_test.cpp
@@ -540,8 +540,9 @@ int main() {
540 } 540 }
541 EXPECT(grab(frame)); 541 EXPECT(grab(frame));
542 EXPECT(region_is(frame, 0, 0, width, height, {0, 0, 0}, 0)); 542 EXPECT(region_is(frame, 0, 0, width, height, {0, 0, 0}, 0));
543 // (The blank frame is a frame in flight like any other: with latency 1 the next wait needs it shown first.) 543 // (The blank frame is a frame in flight like any other, but at most `latency` frames are: with latency 1 it
544 EXPECT(xbox.pacer().frames_in_flight() == 2); // the first frame and the blank one 544 // replaces the first frame, which still waits for its vblank, and the next wait needs it shown first.)
545 EXPECT(xbox.pacer().frames_in_flight() == 1);
545 clock.advance_us(period); 546 clock.advance_us(period);
546 std::printf("0 planes (blank): ok\n"); 547 std::printf("0 planes (blank): ok\n");
547 548