mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
st/oxr: xrPollEvent should not return XR_SESSION_LOSS_PENDING
This commit is contained in:
parent
7cd1d4886f
commit
c560ff5592
|
@ -157,7 +157,7 @@ oxr_event_push_XrEventDataSessionStateChanged(struct oxr_logger *log,
|
||||||
changed->state = state;
|
changed->state = state;
|
||||||
changed->time = time;
|
changed->time = time;
|
||||||
|
|
||||||
event->result = state == XR_SESSION_STATE_LOSS_PENDING ? XR_SESSION_LOSS_PENDING : XR_SUCCESS;
|
event->result = XR_SUCCESS;
|
||||||
|
|
||||||
lock(inst);
|
lock(inst);
|
||||||
push(inst, event);
|
push(inst, event);
|
||||||
|
|
Loading…
Reference in a new issue