summaryrefslogtreecommitdiff
path: root/modules/openxr/extensions/openxr_android_extension.h
diff options
context:
space:
mode:
authorrsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com>2022-10-29 16:39:35 +0200
committerrsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com>2022-11-04 01:57:48 +0100
commit4243b859902d3978471ed8cdf745ffcd8b3fe7ad (patch)
treea7af4cae9c0962ac823b477633b6a47aec2c63b6 /modules/openxr/extensions/openxr_android_extension.h
parentc98d6142d0c8cf4ac284a595ad1156a4b74736ad (diff)
OpenXR: support XR_KHR_android_create_instance
This commit adds support for the OpenXR extension XR_KHR_android_create_instance, which seems to be required on Pico devices.
Diffstat (limited to 'modules/openxr/extensions/openxr_android_extension.h')
-rw-r--r--modules/openxr/extensions/openxr_android_extension.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/openxr/extensions/openxr_android_extension.h b/modules/openxr/extensions/openxr_android_extension.h
index eda7022064..ca6011559a 100644
--- a/modules/openxr/extensions/openxr_android_extension.h
+++ b/modules/openxr/extensions/openxr_android_extension.h
@@ -41,12 +41,15 @@ public:
OpenXRAndroidExtension(OpenXRAPI *p_openxr_api);
virtual void on_before_instance_created() override;
+ virtual void *set_instance_create_info_and_get_next_pointer(void *p_next_pointer) override;
virtual ~OpenXRAndroidExtension() override;
private:
static OpenXRAndroidExtension *singleton;
+ bool create_instance_extension_available = false;
+
// Initialize the loader
EXT_PROTO_XRRESULT_FUNC1(xrInitializeLoaderKHR, (const XrLoaderInitInfoBaseHeaderKHR *), loaderInitInfo)
};