Refactor xr::handle

This commit is contained in:
Patrick Nicolas
2024-06-16 12:07:38 +02:00
parent a7e8b281d3
commit 03c12a9aaf
18 changed files with 98 additions and 151 deletions
+1 -2
View File
@@ -45,7 +45,7 @@ union event
XrEventDataDisplayRefreshRateChangedFB refresh_rate_changed;
XrEventDataPassthroughStateChangedFB passthrough_state_changed;
};
class instance : public utils::handle<XrInstance>
class instance : public utils::handle<XrInstance, xrDestroyInstance>
{
std::string runtime_version;
std::string runtime_name;
@@ -61,7 +61,6 @@ public:
instance() = default;
instance(instance &&) = default;
instance & operator=(instance &&) = default;
~instance();
const std::string & get_runtime_version() const
{