Synchronize all uses of the command queue

This commit is contained in:
Guillaume Meunier
2025-08-04 15:49:42 +02:00
committed by Patrick Nicolas
parent 55def29a10
commit 2327eacbeb
15 changed files with 89 additions and 50 deletions
+2
View File
@@ -127,6 +127,7 @@ void xr::session::begin_frame()
.type = XR_TYPE_FRAME_BEGIN_INFO,
};
auto lock = application::get_queue().lock();
CHECK_XR(xrBeginFrame(id, &begin_info));
}
@@ -140,6 +141,7 @@ void xr::session::end_frame(XrTime display_time, const std::vector<XrComposition
.layers = layers.data(),
};
auto lock = application::get_queue().lock();
CHECK_XR(xrEndFrame(id, &end_info));
}