semi-workaround for quest gpu memory corruption

From pure trial and error, is seems that swapchain
management on the quest platform is broken. After a
swapchain is destroyed, there is a _chance_ the
next created swapchain will be unusable.

This seems to happen no matter what, where or when
the client decides to clean up its resources and the
safest bet is to not recreate swapchains much.
This commit is contained in:
caszuu
2026-02-27 16:03:18 +01:00
committed by xytovl
parent 93ee0cc577
commit b96833cc9b
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -1370,7 +1370,6 @@ void scenes::lobby::on_unfocused()
right_hand.reset();
face_tracker.emplace<std::monostate>();
clear_swapchains();
multicast.reset();
}
-1
View File
@@ -528,7 +528,6 @@ void scenes::stream::on_unfocused()
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets;
world.clear();
input.reset();
clear_swapchains();
left_hand.reset();
right_hand.reset();
apps.reset();