Try to request OpenXR 1.1
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user