Fix memory accumulating while Interface is minimized

This commit is contained in:
David Rowe 2018-11-20 09:36:58 +13:00
parent 35ec0b60ab
commit 7ffa70d0ac

View file

@ -6222,6 +6222,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) {