From 84055beba14ea2cc5f8687fec7b8d3f3e98ac600 Mon Sep 17 00:00:00 2001 From: Karol Suprynowicz <ksuprynowicz@post.pl> Date: Fri, 7 Mar 2025 22:21:53 +0100 Subject: [PATCH] Add missing namespace --- interface/src/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 20ac5360fd..c0cb875ba2 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2388,7 +2388,10 @@ void Application::update(float deltaTime) { PerformanceTimer perfTimer("squeezeVision"); _visionSqueeze.updateVisionSqueeze(myAvatar->getSensorToWorldMatrix(), deltaTime); + // XRTODO: won't this impact performance, especially on slower CPUs? + // I think it will also affect OpenVR // FIXME HACK: OpenXR doesn't limit the game rate for some reason and wastes cpu time + using namespace std::chrono_literals; std::this_thread::sleep_for(5ms); } }