mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
only init platform if oculus store is running
This commit is contained in:
parent
0f1aebea82
commit
e4c3011a0b
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ OculusAPIPlugin::~OculusAPIPlugin() {
|
|||
}
|
||||
|
||||
bool OculusAPIPlugin::init() {
|
||||
_session = hifi::ovr::acquireRenderSession();
|
||||
if (qApp->property(hifi::properties::OCULUS_STORE).toBool()) {
|
||||
_session = hifi::ovr::acquireRenderSession();
|
||||
}
|
||||
return _session;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue