In my PC (CPU I5-8400), debug mode
m_AccumulationData of 'Renderer' class will not initialize to a value of 0
Process
The first 'Renderer::OnResize' event is not a problem:
Because the value of 'm_FrameIndex' is 1, 'memset' will be called to initialize
The second call to 'Renderer::OnResize' will not call memset because 'm_FrameIndex' is not equal to 1, resulting in 'm_AccumulationData' being all is a negative number:
I think I've noticed this problem; everything goes black whenever you resize the window with accumulation turned on. I fixed the issue by adding a call to ResetFrameIndex() to the end of Renderer::OnResize.
Background
In my PC (CPU I5-8400), debug mode m_AccumulationData of 'Renderer' class will not initialize to a value of 0
Process
The first 'Renderer::OnResize' event is not a problem: Because the value of 'm_FrameIndex' is 1, 'memset' will be called to initialize
The second call to 'Renderer::OnResize' will not call memset because 'm_FrameIndex' is not equal to 1, resulting in 'm_AccumulationData' being all is a negative number:
Thanks