From 03b59b26eac152a1193172e16df23532aa47aebc Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Fri, 3 Nov 2023 17:00:03 +0100 Subject: [PATCH] Set low latency mode in latency-test. --- tests/latency_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/latency_test.cpp b/tests/latency_test.cpp index 3e94b943..590b50db 100644 --- a/tests/latency_test.cpp +++ b/tests/latency_test.cpp @@ -41,6 +41,7 @@ struct LatencyTest : Granite::Application, Granite::EventHandler { EVENT_MANAGER_REGISTER(LatencyTest, on_key_down, KeyboardEvent); frame_times.reserve(100); + get_wsi().set_low_latency_mode(true); } bool on_key_down(const KeyboardEvent &e)