Merge pull request #11827 from jherico/bug/fb9107_rc59

Fix for black screen on HMDs on startup
This commit is contained in:
John Conklin II 2017-11-16 11:22:37 -08:00 committed by GitHub
commit d4afd7fa0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -1825,6 +1825,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
// Preload Tablet sounds // Preload Tablet sounds
DependencyManager::get<TabletScriptingInterface>()->preloadSounds(); DependencyManager::get<TabletScriptingInterface>()->preloadSounds();
_pendingIdleEvent = false;
_pendingRenderEvent = false;
qCDebug(interfaceapp) << "Metaverse session ID is" << uuidStringWithoutCurlyBraces(accountManager->getSessionID()); qCDebug(interfaceapp) << "Metaverse session ID is" << uuidStringWithoutCurlyBraces(accountManager->getSessionID());
} }

View file

@ -708,7 +708,7 @@ private:
friend class RenderEventHandler; friend class RenderEventHandler;
std::atomic<bool> _pendingIdleEvent { false }; std::atomic<bool> _pendingIdleEvent { true };
std::atomic<bool> _pendingRenderEvent { false }; std::atomic<bool> _pendingRenderEvent { true };
}; };
#endif // hifi_Application_h #endif // hifi_Application_h