Add comment

This commit is contained in:
Brad Davis 2016-04-05 13:04:17 -07:00
parent 71e6f9bdd6
commit fd4a374e08

View file

@ -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";