summaryrefslogtreecommitdiff
path: root/modules/openxr/openxr_api.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-03-24 22:10:43 +1100
committerBastiaan Olij <mux213@gmail.com>2022-03-25 18:30:47 +1100
commitc78876f9770475c6301858209877bdca90686b46 (patch)
treeea4e75d2b720e0fc77cae0af5a91653fb8eb4725 /modules/openxr/openxr_api.h
parentd250f12243a74fd36905f46b983e3c142e3b2e67 (diff)
Cleanup OpenXR on initialisation failure
Diffstat (limited to 'modules/openxr/openxr_api.h')
-rw-r--r--modules/openxr/openxr_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/openxr/openxr_api.h b/modules/openxr/openxr_api.h
index e20826c849..5d1cea1217 100644
--- a/modules/openxr/openxr_api.h
+++ b/modules/openxr/openxr_api.h
@@ -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; };