Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 250 vs 259 for /trunk/Source Code/Managers/RenderPassManager.cpp

Diff revisions: vs.
  @@ -8,7 +8,7 @@
8 8 }
9 9 };
10 10
11 - RenderPassManager::RenderPassManager() : _renderPassesLocked(false)
11 + RenderPassManager::RenderPassManager() : _renderPassesLocked(false), _renderPassesResetQueued(false)
12 12 {
13 13 RenderQueue::createInstance();
14 14 }
  @@ -27,8 +27,9 @@
27 27 RenderQueue::getInstance().lock();
28 28 }
29 29
30 - void RenderPassManager::unlock() {
30 + void RenderPassManager::unlock(bool resetNodes) {
31 31 _renderPassesLocked = false;
32 + _renderPassesResetQueued = true;
32 33 RenderQueue::getInstance().unlock();
33 34 }
34 35