mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 14:12:50 +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() {
|
||||
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 (!--refCount) {
|
||||
qCDebug(oculus) << "oculus: zero refcount, shutdown SDK and session";
|
||||
|
|
Loading…
Reference in a new issue