File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ namespace virtualdesktop_openxr {
156156 return XR_ERROR_FUNCTION_UNSUPPORTED;
157157 }
158158
159- if (!m_supportsHandTracking) {
159+ if (!m_supportsHandTracking && !has_XR_EXT_hand_tracking_data_source ) {
160160 return XR_ERROR_FEATURE_UNSUPPORTED;
161161 }
162162
Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ namespace virtualdesktop_openxr {
160160 TLArg (properties->graphicsProperties .maxSwapchainImageHeight , " MaxSwapchainImageHeight" ));
161161
162162 if (has_XR_EXT_hand_tracking && handTrackingProperties) {
163- handTrackingProperties->supportsHandTracking = m_supportsHandTracking ? XR_TRUE : XR_FALSE;
163+ handTrackingProperties->supportsHandTracking =
164+ (m_supportsHandTracking || has_XR_EXT_hand_tracking_data_source) ? XR_TRUE : XR_FALSE;
164165
165166 TraceLoggingWrite (g_traceProvider,
166167 " xrGetSystemProperties" ,
You can’t perform that action at this time.
0 commit comments