mirror of https://github.com/bjornbytes/lovr.git
Reset OpenXR event type after polling;
Otherwise the struct will have the wrong type when polling the next event. Kind of annoying.
This commit is contained in:
parent
72c93630ce
commit
3972a8df20
|
@ -1760,6 +1760,7 @@ static double openxr_update(void) {
|
|||
|
||||
default: break;
|
||||
}
|
||||
e.type = XR_TYPE_EVENT_DATA_BUFFER;
|
||||
}
|
||||
|
||||
if (SESSION_ACTIVE(state.sessionState)) {
|
||||
|
|
Loading…
Reference in New Issue