diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-06 18:30:15 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-06 18:30:15 +0000 |
| commit | 6e663135a6d194f5ed8b41f112c6d5a2c98b080d (patch) | |
| tree | c5e4f26bfdc01c29e23b2f3f8706891730ded78c /Graphics/GraphicsEngine | |
| parent | Fixed GCC compiler warnings (diff) | |
| download | DiligentCore-6e663135a6d194f5ed8b41f112c6d5a2c98b080d.tar.gz DiligentCore-6e663135a6d194f5ed8b41f112c6d5a2c98b080d.zip | |
Added few debug checks
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/DeviceContextBase.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/DeviceContextBase.hpp b/Graphics/GraphicsEngine/include/DeviceContextBase.hpp index c932d3b4..4df47bfc 100644 --- a/Graphics/GraphicsEngine/include/DeviceContextBase.hpp +++ b/Graphics/GraphicsEngine/include/DeviceContextBase.hpp @@ -750,6 +750,9 @@ inline void DeviceContextBase<BaseInterface, ImplementationTraits>::ClearStateCa m_NumScissorRects = 0; ResetRenderTargets(); + + m_pActiveRenderPass = nullptr; + m_pBoundFramebuffer = nullptr; } template <typename BaseInterface, typename ImplementationTraits> |
