mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
OpenXR: Fix initialization warning on Android
This commit adds proper checking for XR_KHR_loader_init support and fixes the warning regarding missing extensions on Android to only appear if neither XR_KHR_loader_init nor XR_KHR_loader_init_android are supported by the runtime.
This commit is contained in:
parent
9c02bf1b11
commit
b51acac638
4 changed files with 19 additions and 6 deletions
|
|
@ -305,6 +305,7 @@ public:
|
|||
static bool openxr_is_enabled(bool p_check_run_in_editor = true);
|
||||
_FORCE_INLINE_ static OpenXRAPI *get_singleton() { return singleton; }
|
||||
|
||||
XrResult try_get_instance_proc_addr(const char *p_name, PFN_xrVoidFunction *p_addr);
|
||||
XrResult get_instance_proc_addr(const char *p_name, PFN_xrVoidFunction *p_addr);
|
||||
String get_error_string(XrResult result);
|
||||
String get_swapchain_format_name(int64_t p_swapchain_format) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue