summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h2
-rw-r--r--Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h b/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h
index 0df7d302..1934b351 100644
--- a/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h
+++ b/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h
@@ -55,7 +55,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface) override final;
/// Implementation of ICommandQueueVk::GetNextFenceValue().
- virtual Uint64 GetNextFenceValue() override final { return m_NextFenceValue; }
+ virtual Uint64 GetNextFenceValue() const override final { return m_NextFenceValue; }
/// Implementation of ICommandQueueVk::Submit().
virtual Uint64 Submit(VkCommandBuffer cmdBuffer) override final;
diff --git a/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h b/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h
index 9f8216e9..b4314d33 100644
--- a/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h
+++ b/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h
@@ -40,11 +40,11 @@ static constexpr INTERFACE_ID IID_CommandQueueVk =
{0x9fbf582f, 0x3069, 0x41b9, {0xac, 0x5, 0x34, 0x4d, 0x5a, 0xf5, 0xce, 0x8c}};
/// Command queue interface
-class ICommandQueueVk : public Diligent::IObject
+class ICommandQueueVk : public IObject
{
public:
/// Returns the fence value that will be signaled next time
- virtual Uint64 GetNextFenceValue() = 0;
+ virtual Uint64 GetNextFenceValue() const = 0;
/// Submits a given command buffer to the command queue