1
0
Fork 0

OpenXR: Fix hiding/showing composition layers using hole punching

This commit is contained in:
David Snopek 2024-12-23 08:01:19 -06:00
parent 216b3302f3
commit d9ad5d1cd4
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ void OpenXRCompositionLayer::_notification(int p_what) {
}
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {
if (!fallback && openxr_session_running && is_inside_tree()) {
if (is_natively_supported() && openxr_session_running && is_inside_tree()) {
if (is_visible()) {
_setup_composition_layer_provider();
} else {