Skip to content

Commit

Permalink
Set low latency mode in latency-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Nov 3, 2023
1 parent 4c47f1c commit 03b59b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/latency_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03b59b2

Please sign in to comment.