1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Ensure OpenXR classes are declared properly

Co-authored-by: Bastiaan Olij <mux213@gmail.com>
(cherry picked from commit c23bd8b143)
This commit is contained in:
A Thousand Ships
2023-08-26 17:39:43 +02:00
committed by Yuri Sizov
parent 18f69e9ee1
commit d5c246bbd3
21 changed files with 130 additions and 79 deletions

View File

@@ -30,7 +30,7 @@
#include "openxr_htc_controller_extension.h"
#include "../action_map/openxr_interaction_profile_meta_data.h"
#include "../action_map/openxr_interaction_profile_metadata.h"
HashMap<String, bool *> OpenXRHTCControllerExtension::get_requested_extensions() {
HashMap<String, bool *> request_extensions;
@@ -46,7 +46,7 @@ bool OpenXRHTCControllerExtension::is_available(HTCControllers p_type) {
}
void OpenXRHTCControllerExtension::on_register_metadata() {
OpenXRInteractionProfileMetaData *metadata = OpenXRInteractionProfileMetaData::get_singleton();
OpenXRInteractionProfileMetadata *metadata = OpenXRInteractionProfileMetadata::get_singleton();
ERR_FAIL_NULL(metadata);
// HTC Vive Cosmos controller