Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 826 vs 827 for /trunk/Source Code/Platform/Video/GFXDeviceDraw.cpp

Diff revisions: vs.
  @@ -196,10 +196,20 @@
196 196 }
197 197 }
198 198
199 + std::for_each(std::begin(visibleNodes), std::end(visibleNodes),
200 + [&](RenderPassCuller::VisibleNode& node) -> void
201 + {
202 +
203 + const SceneGraphNode* nodeRef = node.second;
204 + RenderingComponent* renderable = nodeRef->get<RenderingComponent>();
205 + Attorney::RenderingCompGFXDevice::prepareDrawPackage(*renderable, sceneRenderState, currentStage);
206 + });
207 +
199 208 U32 nodeCount = 0;
200 209 U32 cmdCount = 0;
201 210 std::for_each(std::begin(visibleNodes), std::end(visibleNodes),
202 - [&](RenderPassCuller::VisibleNode& node) -> void {
211 + [&](RenderPassCuller::VisibleNode& node) -> void
212 + {
203 213 const SceneGraphNode* nodeRef = node.second;
204 214
205 215 RenderingComponent* renderable = nodeRef->get<RenderingComponent>();