diff --git a/WickedEngine/wiRenderPath3D_PathTracing.cpp b/WickedEngine/wiRenderPath3D_PathTracing.cpp index 46f0a837d..72430445f 100644 --- a/WickedEngine/wiRenderPath3D_PathTracing.cpp +++ b/WickedEngine/wiRenderPath3D_PathTracing.cpp @@ -309,7 +309,8 @@ namespace wi } else { - denoiserResult = Texture(); + wi::jobsystem::Wait(denoiserContext); + denoiserResult = {}; denoiserProgress = 0; } #endif // OPEN_IMAGE_DENOISE