mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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() {
|
||||
bool hmdPresent = vr::VR_IsHmdPresent();
|
||||
if (hmdPresent && (!isHMDInErrorState)) {
|
||||
if (hmdPresent && !isHMDInErrorState) {
|
||||
Lock lock(mutex);
|
||||
if (!activeHmd) {
|
||||
#if DEV_BUILD
|
||||
|
|
Loading…
Reference in a new issue