From 7d5fa81a91340ced18a3e012ebcf5da7f9a6903c Mon Sep 17 00:00:00 2001 From: Shawn Wallace Date: Thu, 13 Nov 2025 21:11:59 -0500 Subject: [PATCH] d/steamvr_lh: expose IVRPaths_002 Fixes the driver segfaulting as of SteamVR 2.13. Part-of: --- src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp index 8a4c55ed4..fe457f828 100644 --- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp +++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp @@ -162,6 +162,9 @@ Context::GetGenericInterface(const char *pchInterfaceVersion, vr::EVRInitError * MATCH_INTERFACE(vr::IVRDriverManager_Version, &man); MATCH_INTERFACE(vr::IVRBlockQueue_Version, &blockqueue); MATCH_INTERFACE(vr::IVRPaths_Version, &paths); + // This version of the interface is not in a public header. + // Luckily it seems to be compatible with the previous version. + MATCH_INTERFACE("IVRPaths_002", &paths); // Internal interfaces MATCH_INTERFACE("IVRServer_XXX", &server); -- 2.51.2