Skip to content

Commit f68aff4

Browse files
committed
hello_xr: Remove unused code.
1 parent b376876 commit f68aff4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/tests/hello_xr/openxr_program.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,6 @@ inline XrReferenceSpaceCreateInfo GetXrReferenceSpaceCreateInfo(const std::strin
113113
return referenceSpaceCreateInfo;
114114
}
115115

116-
inline std::string GetXrPathString(XrInstance instance, XrPath path) {
117-
uint32_t pathCount;
118-
CHECK_XRCMD(xrPathToString(instance, path, 0, &pathCount, nullptr));
119-
std::string pathStr(pathCount, '\0');
120-
CHECK_XRCMD(xrPathToString(instance, path, pathCount, &pathCount, &pathStr.front()));
121-
pathStr.resize(pathCount - 1); // Remove null terminator because std::string will include it.
122-
return pathStr;
123-
}
124-
125116
struct OpenXrProgram : IOpenXrProgram {
126117
OpenXrProgram(const std::shared_ptr<Options>& options, const std::shared_ptr<IPlatformPlugin>& platformPlugin,
127118
const std::shared_ptr<IGraphicsPlugin>& graphicsPlugin)
@@ -988,7 +979,6 @@ struct OpenXrProgram : IOpenXrProgram {
988979
XrEnvironmentBlendMode m_environmentBlendMode{XR_ENVIRONMENT_BLEND_MODE_OPAQUE};
989980
XrSystemId m_systemId{XR_NULL_SYSTEM_ID};
990981

991-
XrViewConfigurationProperties m_viewConfig{};
992982
std::vector<XrViewConfigurationView> m_configViews;
993983
std::vector<Swapchain> m_swapchains;
994984
std::map<XrSwapchain, std::vector<XrSwapchainImageBaseHeader*>> m_swapchainImages;

0 commit comments

Comments
 (0)