5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
13 lines
727 B
Diff
13 lines
727 B
Diff
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
|
index 24b69fd..5b3a5ca 100644
|
|
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
|
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
|
@@ -138,7 +138,7 @@ Context::setup_hmd(const char *serial, vr::ITrackedDeviceServerDriver *driver)
|
|
vr::EVRInitError err = driver->Activate(0);
|
|
VERIFY(err == vr::VRInitError_None, std::to_string(err).c_str());
|
|
|
|
- auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent(vr::IVRDisplayComponent_Version));
|
|
+ auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent("IVRDisplayComponent_003"));
|
|
VERIFY(display, "IVRDisplayComponent is null");
|
|
#undef VERIFY
|
|
|