Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/openvr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Ludwig <joe@valvesoftware.com>2019-08-06 03:55:31 +0300
committerJoe Ludwig <joe@valvesoftware.com>2019-08-06 03:55:31 +0300
commit52065df3d6f3af96300dac98cdf7397f26abfcd7 (patch)
treee12890fcf7f3cb0d6c210753b7a899b9846fd167
parentd9cffe2ff87bf0bac69b56bcf6fb60652a9d4009 (diff)
Fixed issue with driver sample not compiling after a 1.6.10 driver interface change.v1.6.10bv.1.6.10b
https://github.com/ValveSoftware/openvr/pull/1170 [git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 5275932]
-rw-r--r--samples/driver_sample/driver_sample.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/driver_sample/driver_sample.cpp b/samples/driver_sample/driver_sample.cpp
index d5cdc38..4f03534 100644
--- a/samples/driver_sample/driver_sample.cpp
+++ b/samples/driver_sample/driver_sample.cpp
@@ -97,7 +97,7 @@ void WatchdogThreadFunction( )
if ( (0x01 & GetAsyncKeyState( 'Y' )) != 0 )
{
// Y key was pressed.
- vr::VRWatchdogHost()->WatchdogWakeUp();
+ vr::VRWatchdogHost()->WatchdogWakeUp( vr::TrackedDeviceClass_HMD );
}
std::this_thread::sleep_for( std::chrono::microseconds( 500 ) );
#else