From 9132e3040e109f240089b0d55b5c1c54565e9280 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 19 Jan 2024 17:30:08 +0100 Subject: [PATCH] Remove superfluous poll_actions --- client/scenes/lobby.cpp | 3 --- client/scenes/stream_actions.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 7619b945..b5647709 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -260,9 +260,6 @@ void scenes::lobby::render() auto [flags, views] = session.locate_views(viewconfig, framestate.predictedDisplayTime, world_space); assert(views.size() == swapchains.size()); - - - application::poll_actions(); input->apply(world_space, framestate.predictedDisplayTime); diff --git a/client/scenes/stream_actions.cpp b/client/scenes/stream_actions.cpp index b5f23509..cb9e631f 100644 --- a/client/scenes/stream_actions.cpp +++ b/client/scenes/stream_actions.cpp @@ -23,7 +23,6 @@ void scenes::stream::read_actions() { from_headset::inputs inputs; - application::poll_actions(); for (const auto & [id, action, action_type]: input_actions) {