summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-08-08 23:48:40 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-08 23:48:40 +0000
commitfd6ecbc3e52569119c4e0ff30236bd23f2757737 (patch)
tree1cc09a201840841ecd4bb579dcd23e815fa7bc74 /Graphics/GraphicsEngineOpenGL
parentD3D12 backend: implemented render pass attachment state transitons (diff)
downloadDiligentCore-fd6ecbc3e52569119c4e0ff30236bd23f2757737.tar.gz
DiligentCore-fd6ecbc3e52569119c4e0ff30236bd23f2757737.zip
Implemented unified render pass attachment state updates within subpasses and after the render pass ends
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp2
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
index 52b3481b..ad9ff03b 100644
--- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
+++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
@@ -121,7 +121,7 @@ public:
virtual void DILIGENT_CALL_TYPE NextSubpass() override final;
/// Implementation of IDeviceContext::EndRenderPass() in Direct3D11 backend.
- virtual void DILIGENT_CALL_TYPE EndRenderPass(bool UpdateResourceStates) override final;
+ virtual void DILIGENT_CALL_TYPE EndRenderPass() override final;
// clang-format off
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
index c06c7d3e..478be058 100644
--- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
@@ -428,9 +428,9 @@ void DeviceContextGLImpl::NextSubpass()
UNEXPECTED("Method not implemented");
}
-void DeviceContextGLImpl::EndRenderPass(bool UpdateResourceStates)
+void DeviceContextGLImpl::EndRenderPass()
{
- TDeviceContextBase::EndRenderPass(UpdateResourceStates);
+ TDeviceContextBase::EndRenderPass();
UNEXPECTED("Method not implemented");
}