From caa7eaaab21fe4e9a0bc3a26e2067db4d6992a8d Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 19 Aug 2020 21:17:55 -0700 Subject: D3D11 backend: reworked subpass transitons to fix the issue with render target attachments not being unbound from input --- Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index 8b10e196..1b7b6891 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -544,6 +544,7 @@ void DeviceContextGLImpl::NextSubpass() EndSubpass(); TDeviceContextBase::NextSubpass(); BeginSubpass(); + m_AttachmentClearValues.clear(); } void DeviceContextGLImpl::EndRenderPass() -- cgit v1.2.3