diff options
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> |
