st/oxr: fix wrong struct used when sending the XrEventDataInteractionProfileChanged event

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2327>
This commit is contained in:
liushuai.abel 2024-09-23 15:31:54 +08:00 committed by Rylie Pavlik
parent 01806a3ffa
commit 9bba558fe1
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
---
- mr.2327
---
Fix: Conformance issue.

View file

@ -176,7 +176,7 @@ XrResult
oxr_event_push_XrEventDataInteractionProfileChanged(struct oxr_logger *log, struct oxr_session *sess)
{
struct oxr_instance *inst = sess->sys->inst;
XrEventDataSessionStateChanged *changed;
XrEventDataInteractionProfileChanged *changed;
struct oxr_event *event = NULL;
ALLOC(log, inst, &event, &changed);