summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index 80a0e6f1..530a455e 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -53,7 +53,7 @@ void device_list::fill_device_specs(QList<device_spec>& list)
v->GetDeviceToAbsoluteTrackingPose(origin::TrackingUniverseSeated, 0,
device_states, vr::k_unMaxTrackedDeviceCount);
- constexpr unsigned bufsiz = vr::k_unTrackingStringSize;
+ constexpr unsigned bufsiz = vr::k_unMaxPropertyStringSize;
static char str[bufsiz+1] {}; // vr_lock prevents reentrancy
for (unsigned k = 0; k < vr::k_unMaxTrackedDeviceCount; k++)