From 3f00f67042b89a131b7165dcca99364658a55a7f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 20 Jan 2024 15:00:22 +0100 Subject: [PATCH] Update monado --- CMakeLists.txt | 2 +- server/driver/wivrn_session.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fc9a45e..7ba408d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,7 +130,7 @@ FetchContent_Declare(libktx URL https://github.com/KhronosGroup/KTX-Softw # Server dependencies FetchContent_Declare(monado GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado - GIT_TAG 79bf8eb8fa168f65f4e5505e0525ee74aa88783e + GIT_TAG 428c511924d81854c445544972567507f748f5b8 ) FetchContent_Declare(imgui diff --git a/server/driver/wivrn_session.cpp b/server/driver/wivrn_session.cpp index 3988b459..a925813a 100644 --- a/server/driver/wivrn_session.cpp +++ b/server/driver/wivrn_session.cpp @@ -59,7 +59,7 @@ struct wivrn_comp_target_factory : public comp_target_factory static bool create_target(const struct comp_target_factory * ctf, struct comp_compositor * c, struct comp_target ** out_ct) { auto self = (wivrn_comp_target_factory *)ctf; - self->session->comp_target = new wivrn_comp_target(self->session, c, self->fps);; + self->session->comp_target = new wivrn_comp_target(self->session, c, self->fps); *out_ct = self->session->comp_target; return true; } @@ -143,6 +143,7 @@ xrt_result_t xrt::drivers::wivrn::wivrn_session::create_session(xrt::drivers::wi self->right_hand.get(), devices->xdevs, devices->xdev_count, + false, out_xspovrs); devices->destroy = [](xrt_system_devices * xsd) { @@ -279,7 +280,7 @@ std::array wivrn_s return hmd->get_foveation_parameters(); } -void wivrn_session::dump_time(const std::string & event, uint64_t frame, uint64_t time, uint8_t stream, const char* extra) +void wivrn_session::dump_time(const std::string & event, uint64_t frame, uint64_t time, uint8_t stream, const char * extra) { if (feedback_csv) {