Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 908 vs 909 for /trunk/Source Code/Graphs/SceneGraph.cpp

Diff revisions: vs.
  @@ -174,7 +174,7 @@
174 174 //_root->sgnUpdate(deltaTime, sceneState);
175 175
176 176 if (_loadComplete) {
177 - CreateTask(
177 + CreateTask(parentScene().platformContext(),
178 178 [this, deltaTime](const Task& parentTask) mutable
179 179 {
180 180 _octreeUpdating = true;
  @@ -206,7 +206,7 @@
206 206 _root->forEachChild(perChildCull, start, end);
207 207 };
208 208
209 - parallel_for(updateCamera, childCount, s_nodesPerThread, Task::TaskPriority::MAX);
209 + parallel_for(parentScene().platformContext(), updateCamera, childCount, s_nodesPerThread, Task::TaskPriority::MAX);
210 210 }
211 211
212 212 void SceneGraph::onCameraChange(const Camera& camera) {