From 6e663135a6d194f5ed8b41f112c6d5a2c98b080d Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 6 Aug 2020 11:30:15 -0700 Subject: Added few debug checks --- Graphics/GraphicsEngine/include/DeviceContextBase.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Graphics/GraphicsEngine') 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::ClearStateCa m_NumScissorRects = 0; ResetRenderTargets(); + + m_pActiveRenderPass = nullptr; + m_pBoundFramebuffer = nullptr; } template -- cgit v1.2.3