summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-08-20 04:17:55 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-20 04:17:55 +0000
commitcaa7eaaab21fe4e9a0bc3a26e2067db4d6992a8d (patch)
treed3ccf4df4f444125cfc2153076f0bc33bffe9a2f /Graphics/GraphicsEngineOpenGL
parentUpdated description of indirect draw/dispatch commands to specify the argumen... (diff)
downloadDiligentCore-caa7eaaab21fe4e9a0bc3a26e2067db4d6992a8d.tar.gz
DiligentCore-caa7eaaab21fe4e9a0bc3a26e2067db4d6992a8d.zip
D3D11 backend: reworked subpass transitons to fix the issue with render target attachments not being unbound from input
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp1
1 files changed, 1 insertions, 0 deletions
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()