Skip to content

Commit

Permalink
Fix issue when an app requires foveated rendering but the user did no…
Browse files Browse the repository at this point in the history
…t allow eye tracking.
  • Loading branch information
mbucchia committed May 16, 2023
1 parent 0acd506 commit 6a85a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimax-openxr/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ namespace pimax_openxr {
}

if (has_XR_VARJO_foveated_rendering && foveatedProperties) {
foveatedProperties->supportsFoveatedRendering = m_eyeTrackingType != EyeTracking::None ? XR_TRUE : XR_FALSE;
foveatedProperties->supportsFoveatedRendering = m_isEyeTrackingAvailable ? XR_TRUE : XR_FALSE;

TraceLoggingWrite(g_traceProvider,
"xrGetSystemProperties",
Expand Down

0 comments on commit 6a85a65

Please sign in to comment.