mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-15 16:46:03 +02:00
Merge pull request #14432 from ctrlaltdavid/M17988
Fix memory accumulating while Interface is minimized
This commit is contained in:
commit
1b24d051f7
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue