From 98918c5de52da916cde87bd4b1edbb1be37b33bf Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 31 Aug 2020 16:32:18 -0600 Subject: [PATCH] OpenXR: rm visibility mask; Haven't found a runtime that supports it yet. --- src/modules/headset/headset_openxr.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/modules/headset/headset_openxr.c b/src/modules/headset/headset_openxr.c index 30736b07..0b4b0098 100644 --- a/src/modules/headset/headset_openxr.c +++ b/src/modules/headset/headset_openxr.c @@ -86,7 +86,6 @@ EGLConfig lovrPlatformGetEGLConfig(void); X(xrGetActionStateFloat)\ X(xrSyncActions)\ X(xrApplyHapticFeedback)\ - X(xrGetVisibilityMaskKHR)\ X(xrCreateHandTrackerEXT)\ X(xrDestroyHandTrackerEXT)\ X(xrLocateHandJointsEXT) @@ -124,7 +123,6 @@ static struct { XrHandTrackerEXT handTrackers[2]; struct { bool handTracking; - bool visibilityMask; } features; } state; @@ -192,11 +190,6 @@ static bool openxr_init(float offset, uint32_t msaa) { state.features.handTracking = true; } - if (hasExtension(extensions, extensionCount, XR_KHR_VISIBILITY_MASK_EXTENSION_NAME)) { - enabledExtensionNames[enabledExtensionCount++] = XR_KHR_VISIBILITY_MASK_EXTENSION_NAME; - state.features.visibilityMask = true; - } - free(extensions); XrInstanceCreateInfo info = {