summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp2
-rw-r--r--Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
index a0249ec9..ebca0282 100644
--- a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
+++ b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
@@ -142,7 +142,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
/// Implementation of IDeviceContext::Draw() in Vulkan backend.
diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
index cc72fbb2..2310109f 100644
--- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
@@ -1307,9 +1307,9 @@ void DeviceContextVkImpl::NextSubpass()
m_CommandBuffer.NextSubpass();
}
-void DeviceContextVkImpl::EndRenderPass(bool UpdateResourceStates)
+void DeviceContextVkImpl::EndRenderPass()
{
- TDeviceContextBase::EndRenderPass(UpdateResourceStates);
+ TDeviceContextBase::EndRenderPass();
// TDeviceContextBase::EndRenderPass calls ResetRenderTargets() that in turn
// calls m_CommandBuffer.EndRenderPass()