mirror of
https://github.com/overte-org/overte.git
synced 2025-06-20 16:00:54 +02:00
Add comment
This commit is contained in:
parent
71e6f9bdd6
commit
fd4a374e08
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ ovrSession acquireOculusSession() {
|
||||||
|
|
||||||
void releaseOculusSession() {
|
void releaseOculusSession() {
|
||||||
Q_ASSERT(refCount > 0 && session);
|
Q_ASSERT(refCount > 0 && session);
|
||||||
|
// HACK the Oculus runtime doesn't seem to play well with repeated shutdown / restart.
|
||||||
|
// So for now we'll just hold on to the session
|
||||||
#if 0
|
#if 0
|
||||||
if (!--refCount) {
|
if (!--refCount) {
|
||||||
qCDebug(oculus) << "oculus: zero refcount, shutdown SDK and session";
|
qCDebug(oculus) << "oculus: zero refcount, shutdown SDK and session";
|
||||||
|
|
Loading…
Reference in a new issue