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:
bjorn 2022-03-29 08:56:26 -07:00
parent 72c93630ce
commit 3972a8df20
1 changed files with 1 additions and 0 deletions

View File

@ -1760,6 +1760,7 @@ static double openxr_update(void) {
default: break;
}
e.type = XR_TYPE_EVENT_DATA_BUFFER;
}
if (SESSION_ACTIVE(state.sessionState)) {