The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: xrPollEvent should not return XR_SESSION_LOSS_PENDING

authored by

Jarvis Huang and committed by
Jakob Bornecrantz
c560ff55 7cd1d488

+1 -1
+1 -1
src/xrt/state_trackers/oxr/oxr_event.c
··· 157 157 changed->state = state; 158 158 changed->time = time; 159 159 160 - event->result = state == XR_SESSION_STATE_LOSS_PENDING ? XR_SESSION_LOSS_PENDING : XR_SUCCESS; 160 + event->result = XR_SUCCESS; 161 161 162 162 lock(inst); 163 163 push(inst, event);