mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:29:47 +02:00
only pop to check entitlements if oculus store build
This commit is contained in:
parent
46086cdcce
commit
8f279ce1f7
1 changed files with 21 additions and 18 deletions
|
@ -145,6 +145,8 @@ void handleOVREvents() {
|
||||||
_reorientRequested = status.ShouldRecenter;
|
_reorientRequested = status.ShouldRecenter;
|
||||||
|
|
||||||
#ifdef OCULUS_APP_ID
|
#ifdef OCULUS_APP_ID
|
||||||
|
|
||||||
|
if (qApp->property(hifi::properties::OCULUS_STORE).toBool()) {
|
||||||
// pop messages to see if we got a return for an entitlement check
|
// pop messages to see if we got a return for an entitlement check
|
||||||
ovrMessageHandle message = ovr_PopMessage();
|
ovrMessageHandle message = ovr_PopMessage();
|
||||||
|
|
||||||
|
@ -168,6 +170,7 @@ void handleOVREvents() {
|
||||||
// pop the next message to check, if there is one
|
// pop the next message to check, if there is one
|
||||||
message = ovr_PopMessage();
|
message = ovr_PopMessage();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue