You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at line 255: if (xr_instance == nullptr)
at line 328: if (xr_session == nullptr)
both of these lines trigger error code E0042 "operand types are incompatible("..." and "std::nullptr_t") since xr_instance and xr_session are value types that were passed by reference instead of pointers as needed to compare with nullptr.
The correct guard for both xrCreateSession() and xrCreateInstance() is to test for XR_SUCCESS.
The text was updated successfully, but these errors were encountered:
at line 255: if (xr_instance == nullptr)
at line 328: if (xr_session == nullptr)
both of these lines trigger error code E0042 "operand types are incompatible("..." and "std::nullptr_t") since xr_instance and xr_session are value types that were passed by reference instead of pointers as needed to compare with nullptr.
The correct guard for both xrCreateSession() and xrCreateInstance() is to test for XR_SUCCESS.
The text was updated successfully, but these errors were encountered: