Move Win32 VR state behind platform services

This commit is contained in:
2026-06-17 11:30:27 +02:00
parent 68b8d8c45f
commit ba94785eda
6 changed files with 13 additions and 14 deletions

View File

@@ -20,10 +20,6 @@
#include <deque>
#include <map>
namespace pp::platform::windows {
[[nodiscard]] VrShellState& platform_vr_state() noexcept;
}
void destroy_window();
void async_lock();
void async_unlock();
@@ -134,7 +130,8 @@ void initialize_retained_input_state()
VrShellState& platform_vr_state() noexcept
{
return retained_vr_shell_state();
static VrShellState state;
return state;
}
}