mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-15 11:25:26 +00:00
st/oxr: Initialize action set session pointer
Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
This commit is contained in:
parent
9b774cbd72
commit
1da5cd9914
|
@ -143,6 +143,7 @@ oxr_xrCreateActionSet(XrSession session,
|
|||
struct oxr_action_set* act_set = NULL;
|
||||
OXR_ALLOCATE_HANDLE_OR_RETURN(&log, act_set, OXR_XR_DEBUG_ACTIONSET,
|
||||
oxr_action_set_destroy, &sess->handle);
|
||||
act_set->sess = sess;
|
||||
|
||||
*actionSet = (XrActionSet)act_set;
|
||||
|
||||
|
|
Loading…
Reference in a new issue