summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-10 16:22:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-10 18:35:13 +0100
commit4ad4b8839cec4bc0b75ad74cfa138e40f12a6302 (patch)
tree1f58f5ba5602b399264655c43bc7aa0032b3929a /tracker-steamvr
parent1384338acf910ec15d98aec44eca0c45028ce008 (diff)
tracker/steamvr: update SDK API
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++)