Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dralois committed Sep 22, 2020
1 parent 3b62c7a commit 18a323e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SceneManager.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <SceneManager.h>

#if _DEBUG || DEBUG
#define STORE_DEBUG_TEX 0
#define STORE_DEBUG_TEX 1
#endif //_DEBUG || DEBUG

#define USE_AO 1
Expand Down Expand Up @@ -1085,7 +1085,7 @@ void SceneManager::X_ProcessThread(
// Store the blended depth
ModifiablePath depthPath = pRenderSettings->GetImagePath("depth", imgCountUnoccluded, true);
#if STORE_DEBUG_TEX
masks[i].StoreBlendedDepth01(depthPath, FLT_EPSILON, maxDist);
masks[check].StoreBlendedDepth01(depthPath, FLT_EPSILON, maxDist);
#else
masks[check].StoreBlendedDepth(depthPath);
#endif
Expand Down

0 comments on commit 18a323e

Please sign in to comment.