Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 321 vs 322 for /trunk/Source Code/Rendering/ForwardPlusRenderer.cpp

Diff revisions: vs.
  @@ -46,7 +46,7 @@
46 46 buildLightGrid(gpuBlock);
47 47 }
48 48
49 - void ForwardPlusRenderer::render(const DELEGATE_CBK& renderCallback, const SceneRenderState& sceneRenderState) {
49 + void ForwardPlusRenderer::render(const DELEGATE_CBK<>& renderCallback, const SceneRenderState& sceneRenderState) {
50 50 renderCallback();
51 51 }
52 52
  @@ -63,7 +63,7 @@
63 63 _omniLightList.clear();
64 64 _omniLightList.reserve(static_cast<vectorAlg::vecSize>(lights.size()));
65 65
66 - FOR_EACH(const Light::LightMap::value_type& it, lights) {
66 + for (const Light::LightMap::value_type& it : lights) {
67 67 const Light& light = *it.second;
68 68 if (light.getLightType() == LIGHT_TYPE_POINT){
69 69 _omniLightList.push_back(LightGrid::make_light(light.getPosition(), light.getDiffuseColor(), light.getRange()));