diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 01:18:48 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 19:21:45 +0000 |
| commit | 812fc38d1b0957ed96d93e023b7322d65c5d3f5d (patch) | |
| tree | 12e83148649718ae8dce97ff6ef027cdcb51551e /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed build error (diff) | |
| download | DiligentCore-812fc38d1b0957ed96d93e023b7322d65c5d3f5d.tar.gz DiligentCore-812fc38d1b0957ed96d93e023b7322d65c5d3f5d.zip | |
Updated EndRenderPass to optionally update resource states
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp index ad9ff03b..52b3481b 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() override final; + virtual void DILIGENT_CALL_TYPE EndRenderPass(bool UpdateResourceStates) override final; // clang-format off diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index c585137b..d1df47e3 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -415,9 +415,9 @@ void DeviceContextGLImpl::NextSubpass() UNEXPECTED("Method not implemented"); } -void DeviceContextGLImpl::EndRenderPass() +void DeviceContextGLImpl::EndRenderPass(bool UpdateResourceStates) { - TDeviceContextBase::EndRenderPass(); + TDeviceContextBase::EndRenderPass(UpdateResourceStates); UNEXPECTED("Method not implemented"); } |
