mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 23:04:03 +02:00
Merge pull request #1543 from birarda/master
perform a proper oculus teardown if it isn't present
This commit is contained in:
commit
ec3699da3b
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ void OculusManager::connect() {
|
||||||
_scaleLocation = _program.uniformLocation("scale");
|
_scaleLocation = _program.uniformLocation("scale");
|
||||||
_scaleInLocation = _program.uniformLocation("scaleIn");
|
_scaleInLocation = _program.uniformLocation("scaleIn");
|
||||||
_hmdWarpParamLocation = _program.uniformLocation("hmdWarpParam");
|
_hmdWarpParamLocation = _program.uniformLocation("hmdWarpParam");
|
||||||
|
} else {
|
||||||
|
_deviceManager.Clear();
|
||||||
|
System::Destroy();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue