summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/include/CommandQueueD3D12Impl.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/CommandQueueD3D12.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D12/include/CommandQueueD3D12Impl.h b/Graphics/GraphicsEngineD3D12/include/CommandQueueD3D12Impl.h
index fa9cd9b2..478f5139 100644
--- a/Graphics/GraphicsEngineD3D12/include/CommandQueueD3D12Impl.h
+++ b/Graphics/GraphicsEngineD3D12/include/CommandQueueD3D12Impl.h
@@ -49,7 +49,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface) override final;
// Implementation of ICommandQueueD3D12::GetNextFenceValue().
- virtual Uint64 GetNextFenceValue() override final { return m_NextFenceValue; }
+ virtual Uint64 GetNextFenceValue() const override final { return m_NextFenceValue; }
// Implementation of ICommandQueueD3D12::Submit().
virtual Uint64 Submit(ID3D12GraphicsCommandList* commandList) override final;
diff --git a/Graphics/GraphicsEngineD3D12/interface/CommandQueueD3D12.h b/Graphics/GraphicsEngineD3D12/interface/CommandQueueD3D12.h
index 5a0de471..e5078cdd 100644
--- a/Graphics/GraphicsEngineD3D12/interface/CommandQueueD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/CommandQueueD3D12.h
@@ -38,11 +38,11 @@ static constexpr INTERFACE_ID IID_CommandQueueD3D12 =
{0xd89693ce, 0xf3f4, 0x44b5, {0xb7, 0xef, 0x24, 0x11, 0x5a, 0xad, 0x8, 0x5e}};
/// Command queue interface
-class ICommandQueueD3D12 : public Diligent::IObject
+class ICommandQueueD3D12 : public IObject
{
public:
/// Returns the fence value that will be signaled next time
- virtual Uint64 GetNextFenceValue() = 0;
+ virtual Uint64 GetNextFenceValue() const = 0;
/// Executes a given command list