summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/RenderPassBase.hpp4
-rw-r--r--Graphics/GraphicsEngine/interface/Framebuffer.h2
-rw-r--r--Graphics/GraphicsEngine/interface/RenderPass.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngine/include/RenderPassBase.hpp b/Graphics/GraphicsEngine/include/RenderPassBase.hpp
index c2a6b5c1..fbc65dd7 100644
--- a/Graphics/GraphicsEngine/include/RenderPassBase.hpp
+++ b/Graphics/GraphicsEngine/include/RenderPassBase.hpp
@@ -193,8 +193,8 @@ public:
else
DstSubpass.pPreserveAttachments = nullptr;
}
- VERIFY_EXPR(pCurrAttachmentRef - m_pAttachmentReferences == TotalAttachmentReferencesCount);
- VERIFY_EXPR(pCurrPreserveAttachment - m_pPreserveAttachments == TotalPreserveAttachmentsCount);
+ VERIFY_EXPR(pCurrAttachmentRef - m_pAttachmentReferences == static_cast<ptrdiff_t>(TotalAttachmentReferencesCount));
+ VERIFY_EXPR(pCurrPreserveAttachment - m_pPreserveAttachments == static_cast<ptrdiff_t>(TotalPreserveAttachmentsCount));
if (Desc.DependencyCount != 0)
{
diff --git a/Graphics/GraphicsEngine/interface/Framebuffer.h b/Graphics/GraphicsEngine/interface/Framebuffer.h
index 9b00ea70..3bc10705 100644
--- a/Graphics/GraphicsEngine/interface/Framebuffer.h
+++ b/Graphics/GraphicsEngine/interface/Framebuffer.h
@@ -73,7 +73,7 @@ typedef struct FramebufferDesc FramebufferDesc;
class IFramebuffer : public IDeviceObject
{
public:
- virtual const FramebufferDesc& GetDesc() const override = 0;
+ virtual const FramebufferDesc& DILIGENT_CALL_TYPE GetDesc() const override = 0;
};
#else
diff --git a/Graphics/GraphicsEngine/interface/RenderPass.h b/Graphics/GraphicsEngine/interface/RenderPass.h
index 3f822e0c..61feca48 100644
--- a/Graphics/GraphicsEngine/interface/RenderPass.h
+++ b/Graphics/GraphicsEngine/interface/RenderPass.h
@@ -369,7 +369,7 @@ typedef struct RenderPassDesc RenderPassDesc;
class IRenderPass : public IDeviceObject
{
public:
- virtual const RenderPassDesc& GetDesc() const override = 0;
+ virtual const RenderPassDesc& DILIGENT_CALL_TYPE GetDesc() const override = 0;
};
#else