mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:35:04 +02:00
perform a proper oculus teardown if it isn't present
This commit is contained in:
parent
106c8f9f22
commit
0f7d86a111
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ void OculusManager::connect() {
|
|||
_scaleLocation = _program.uniformLocation("scale");
|
||||
_scaleInLocation = _program.uniformLocation("scaleIn");
|
||||
_hmdWarpParamLocation = _program.uniformLocation("hmdWarpParam");
|
||||
} else {
|
||||
_deviceManager.Clear();
|
||||
System::Destroy();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue