mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:23:09 +02:00
force entitlement check for all builds with OCULUS_APP_ID
This commit is contained in:
parent
b87a1b2b2b
commit
f592d8d894
1 changed files with 7 additions and 8 deletions
|
@ -93,15 +93,14 @@ ovrSession acquireOculusSession() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef OCULUS_APP_ID
|
#ifdef OCULUS_APP_ID
|
||||||
if (true) {
|
|
||||||
if (ovr_PlatformInitializeWindows(OCULUS_APP_ID) != ovrPlatformInitialize_Success) {
|
if (ovr_PlatformInitializeWindows(OCULUS_APP_ID) != ovrPlatformInitialize_Success) {
|
||||||
// we were unable to initialize the platform for entitlement check - fail the check
|
// we were unable to initialize the platform for entitlement check - fail the check
|
||||||
_quitRequested = true;
|
_quitRequested = true;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
qCDebug(oculus) << "Performing Oculus Platform entitlement check";
|
qCDebug(oculus) << "Performing Oculus Platform entitlement check";
|
||||||
ovr_Entitlement_GetIsViewerEntitled();
|
ovr_Entitlement_GetIsViewerEntitled();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Q_ASSERT(0 == refCount);
|
Q_ASSERT(0 == refCount);
|
||||||
|
|
Loading…
Reference in a new issue