Try to request OpenXR 1.1

This commit is contained in:
Patrick Nicolas
2025-07-02 21:55:27 +02:00
parent a2837904cc
commit 2ba3d78cd4
3 changed files with 95 additions and 62 deletions
+6
View File
@@ -49,6 +49,7 @@ class instance : public utils::handle<XrInstance, xrDestroyInstance>
std::string runtime_version;
std::string runtime_name;
std::unordered_map<std::string, uint32_t> loaded_extensions;
XrVersion api_version;
public:
#if defined(XR_USE_PLATFORM_ANDROID)
@@ -70,6 +71,11 @@ public:
return runtime_name;
}
XrVersion get_api_version() const
{
return api_version;
}
template <typename F>
F get_proc(const char * name)
{