Fix build

This commit is contained in:
Wojtek Figat
2022-06-14 23:10:21 +02:00
parent 8158052ec7
commit 020e6f671c

View File

@@ -376,7 +376,7 @@ bool DynamicDiffuseGlobalIlluminationPass::Render(RenderContext& renderContext,
LOG(Info, "Dynamic Diffuse Global Illumination memory usage: {0} MB, probes: {1}", memUsage / 1024 / 1024, probesCountTotal);
clear = true;
}
#if USE_EDITOR
#if COMPILE_WITH_DEV_ENV
clear |= ddgiData.LastFrameUsed <= LastFrameShaderReload;
#endif
if (clear)