Commit 1da5cd99 authored by Benjamin Saunders's avatar Benjamin Saunders Committed by Jakob Bornecrantz

st/oxr: Initialize action set session pointer

Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
parent 9b774cbd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment