mirror of https://github.com/bjornbytes/lovr.git
OpenXR: rm visibility mask;
Haven't found a runtime that supports it yet.
This commit is contained in:
parent
74546f357c
commit
98918c5de5
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue