changeset 2561:98057834c9a0

for VS2012
author Ritor1
date Thu, 14 May 2015 19:29:28 +0600
parents 44d9df75dc13
children b8a56afc6ba1
files Engine/Graphics/LightmapBuilder.cpp Engine/Graphics/Render.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Engine/Graphics/LightmapBuilder.cpp	Thu May 14 19:16:21 2015 +0600
+++ b/Engine/Graphics/LightmapBuilder.cpp	Thu May 14 19:29:28 2015 +0600
@@ -882,7 +882,7 @@
     }
   }
   else
-    //if (for_refactoring)
+    if (for_refactoring)
     {
     for (unsigned int i = 0; i < std__vector_000004_size; ++i)
       if ( !pRenderer->DrawLightmap(std__vector_000004 + i, &arg4, 0.0) )
--- a/Engine/Graphics/Render.cpp	Thu May 14 19:16:21 2015 +0600
+++ b/Engine/Graphics/Render.cpp	Thu May 14 19:29:28 2015 +0600
@@ -383,7 +383,7 @@
         norm = 0;
       else
         norm = &pTerrainNormals[norm_idx];
-      //if (for_refactoring)
+      if (for_refactoring)
       {
         //MessageBoxA(nullptr, "Ritor1: function StackLights_TerrainFace needed refactoring and result - slows", "", 0);
         //__debugbreak();