mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/oxr: fix XrFacialTrackerHTC validation
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2306>
This commit is contained in:
parent
2d3978b1b0
commit
30ae628b83
|
@ -67,8 +67,7 @@ oxr_xrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, XrFacialExpressi
|
|||
|
||||
struct oxr_logger log;
|
||||
struct oxr_facial_tracker_htc *facial_tracker_htc = NULL;
|
||||
OXR_VERIFY_FACE_TRACKER_HTC_AND_INIT_LOG(&log, facialExpressions, facial_tracker_htc,
|
||||
"xrGetFacialExpressionsHTC");
|
||||
OXR_VERIFY_FACE_TRACKER_HTC_AND_INIT_LOG(&log, facialTracker, facial_tracker_htc, "xrGetFacialExpressionsHTC");
|
||||
OXR_VERIFY_SESSION_NOT_LOST(&log, facial_tracker_htc->sess);
|
||||
OXR_VERIFY_ARG_NOT_NULL(&log, facial_tracker_htc->xdev);
|
||||
OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, facialExpressions, XR_TYPE_FACIAL_EXPRESSIONS_HTC);
|
||||
|
|
Loading…
Reference in a new issue