wineopenxr: Add some missing events unwrapping to wine_xrPollEvent().

CW-Bug-Id: #23689
This commit is contained in:
Paul Gofman 2024-04-19 20:44:29 -06:00 committed by Arkadiusz Hiler
parent da30672797
commit 0fd8364e06

View file

@ -1399,6 +1399,18 @@ XrResult WINAPI wine_xrPollEvent(XrInstance instance, XrEventDataBuffer *eventDa
evt->session = (XrSession)get_wrapped_XrSession(evt->session);
break;
}
case XR_TYPE_EVENT_DATA_USER_PRESENCE_CHANGED_EXT:
{
XrEventDataUserPresenceChangedEXT *evt = (XrEventDataUserPresenceChangedEXT *)eventData;
evt->session = (XrSession)get_wrapped_XrSession(evt->session);
break;
}
case XR_TYPE_EVENT_DATA_LOCALIZATION_CHANGED_ML:
{
XrEventDataLocalizationChangedML *evt = (XrEventDataLocalizationChangedML *)eventData;
evt->session = (XrSession)get_wrapped_XrSession(evt->session);
break;
}
default:
break;
}