Merge pull request #14432 from ctrlaltdavid/M17988

Fix memory accumulating while Interface is minimized
This commit is contained in:
Shannon Romano 2018-11-30 09:39:14 -08:00 committed by GitHub
commit 1b24d051f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6304,6 +6304,11 @@ void Application::update(float deltaTime) {
PerformanceTimer perfTimer("enqueueFrame");
getMain3DScene()->enqueueFrame();
}
// If the display plugin is inactive then the frames won't be processed so process them here.
if (!getActiveDisplayPlugin()->isActive()) {
getMain3DScene()->processTransactionQueue();
}
}
void Application::updateRenderArgs(float deltaTime) {