Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit6212dccc2b, reversing changes made to80e31b642a.
This commit is contained in:
+1
-16
@@ -19,9 +19,8 @@
|
||||
|
||||
#include "instance.h"
|
||||
|
||||
#include "xr.h"
|
||||
#include "xr/details/enumerate.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
@@ -213,20 +212,6 @@ XrPath xr::instance::string_to_path(const std::string & path)
|
||||
return p;
|
||||
}
|
||||
|
||||
std::vector<XrPath> xr::instance::enumerate_paths_for_interaction_profile(XrPath interaction_profile, XrPath user_path)
|
||||
{
|
||||
assert(has_extension(XR_HTC_PATH_ENUMERATION_EXTENSION_NAME));
|
||||
static auto xrEnumeratePathsForInteractionProfileHTC = get_proc<PFN_xrEnumeratePathsForInteractionProfileHTC>("xrEnumeratePathsForInteractionProfileHTC");
|
||||
|
||||
XrPathsForInteractionProfileEnumerateInfoHTC profile_info{
|
||||
.type = XR_TYPE_UNKNOWN,
|
||||
.next = nullptr,
|
||||
.interactionProfile = interaction_profile,
|
||||
.userPath = user_path,
|
||||
};
|
||||
return xr::details::enumerate<XrPath>(xrEnumeratePathsForInteractionProfileHTC, id, profile_info);
|
||||
}
|
||||
|
||||
bool xr::instance::poll_event(xr::event & buffer)
|
||||
{
|
||||
buffer.header.type = XR_TYPE_EVENT_DATA_BUFFER;
|
||||
|
||||
Reference in New Issue
Block a user