summaryrefslogtreecommitdiff
path: root/modules/openxr/extensions/openxr_extension_wrapper.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-27 10:03:56 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-27 10:03:56 +0200
commit809927862b2efc2ea7830d0f11a5b1bc3a23acb1 (patch)
tree57af27616551bcf7f55a616afedf773af864fdcc /modules/openxr/extensions/openxr_extension_wrapper.h
parent7ea50158ad9a79601cdc089d2d1cb36d424e0958 (diff)
parent6da6e1690e2e1cadd6a8322b72bc9a2e1ff03d18 (diff)
Merge pull request #66282 from BastiaanOlij/openxr_palm_pose
Add OpenXR palm pose extension support
Diffstat (limited to 'modules/openxr/extensions/openxr_extension_wrapper.h')
-rw-r--r--modules/openxr/extensions/openxr_extension_wrapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/openxr/extensions/openxr_extension_wrapper.h b/modules/openxr/extensions/openxr_extension_wrapper.h
index 0ed0155fc7..623c264e6e 100644
--- a/modules/openxr/extensions/openxr_extension_wrapper.h
+++ b/modules/openxr/extensions/openxr_extension_wrapper.h
@@ -88,6 +88,11 @@ public:
return false;
}
+ // Return false if this extension is responsible for this path but the path is not enabled
+ virtual bool is_path_supported(const String &p_path) {
+ return true;
+ }
+
OpenXRExtensionWrapper(OpenXRAPI *p_openxr_api) { openxr_api = p_openxr_api; };
virtual ~OpenXRExtensionWrapper() = default;
};