mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:49:12 +02:00
Update plugins/openvr/src/OpenVrHelpers.cpp
I screm Co-Authored-By: Thijs Wenker <me@thoys.nl>
This commit is contained in:
parent
9f3772093a
commit
ac9adc3dff
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ bool isHMDInErrorState = false;
|
||||||
|
|
||||||
vr::IVRSystem* acquireOpenVrSystem() {
|
vr::IVRSystem* acquireOpenVrSystem() {
|
||||||
bool hmdPresent = vr::VR_IsHmdPresent();
|
bool hmdPresent = vr::VR_IsHmdPresent();
|
||||||
if (hmdPresent && (!isHMDInErrorState)) {
|
if (hmdPresent && !isHMDInErrorState) {
|
||||||
Lock lock(mutex);
|
Lock lock(mutex);
|
||||||
if (!activeHmd) {
|
if (!activeHmd) {
|
||||||
#if DEV_BUILD
|
#if DEV_BUILD
|
||||||
|
|
Loading…
Reference in a new issue