Cleanup OpenXR on initialisation failure

This commit is contained in:
Bastiaan Olij 2022-03-24 22:10:43 +11:00
parent d250f12243
commit c78876f977
5 changed files with 25 additions and 28 deletions

View file

@ -234,8 +234,8 @@ public:
bool is_initialized();
bool is_running();
bool initialise(const String &p_rendering_driver);
bool initialise_session();
bool initialize(const String &p_rendering_driver);
bool initialize_session();
void finish();
XrTime get_next_frame_time() { return frame_state.predictedDisplayTime + frame_state.predictedDisplayPeriod; };