Closed FlightBlaze closed 2 years ago
Can you post the steps to reproduce the problem?
The render targets are set by the SampleApp
before calling the Render()
function, for all tutorials:
https://github.com/DiligentGraphics/DiligentSamples/blob/master/SampleBase/src/SampleApp.cpp#L799
In tutorial 1 i added SetRenderTargets before clearing targets. Without this line of code i get the error:
E/Diligent Engine: Diligent Engine: ERROR: Debug assertion failed in PrepareForDraw(), file DeviceContextVkImpl.cpp, line 699: No render pass is active while executing draw command