mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix for crash on disabling and re-enabling openvr
This commit is contained in:
parent
7045680bc7
commit
b279ff9f7d
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ void releaseOpenVrSystem() {
|
|||
if (0 == refCount) {
|
||||
qCDebug(displayplugins) << "openvr: zero refcount, deallocate VR system";
|
||||
vr::VR_Shutdown();
|
||||
activeHmd = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue