Release passthrough resources when lobby is not focused

This commit is contained in:
Patrick Nicolas
2024-03-24 17:24:03 +01:00
parent bf555f0fdb
commit 94e6014861
5 changed files with 52 additions and 33 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ void scenes::stream::on_focused()
void scenes::stream::on_unfocused()
{
imgui_ctx.reset();
swapchain_imgui.reset();
swapchain_imgui = xr::swapchain();
}
scenes::stream::~stream()