From 95a683601b03fd4105cb747d6ef26b502a43764e Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 1 Nov 2024 09:11:49 +0100 Subject: [PATCH] Don't depth test the repositioning tip --- client/scenes/lobby.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 5c87aa6f..9621f0da 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -924,7 +924,8 @@ void scenes::lobby::render(const XrFrameState & frame_state) for (auto & [z_index, layer]: imgui_layers) { - layer.next = &layer_depth_test; + if (z_index != constants::lobby::zindex_recenter_tip) + layer.next = &layer_depth_test; } controllers_layer.next = &layer_depth_test;