summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-12-08 05:08:42 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-12-08 05:08:42 +0000
commit9f1caeadc8d1affe005ebc33f63476b0fb8bc1b1 (patch)
tree0209ba46568452d260d72249f083282e06e6ea67 /Graphics/GraphicsTools
parentUpdated CreateBufferSuballocator and CreateDynamicTextureAtlas functions to t... (diff)
downloadDiligentCore-9f1caeadc8d1affe005ebc33f63476b0fb8bc1b1.tar.gz
DiligentCore-9f1caeadc8d1affe005ebc33f63476b0fb8bc1b1.zip
Fixed minor issue with IDynamicTextureAtlas::GetAtlasDesc not being pure virtual
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/interface/DynamicTextureAtlas.h2
-rw-r--r--Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsTools/interface/DynamicTextureAtlas.h b/Graphics/GraphicsTools/interface/DynamicTextureAtlas.h
index ebaf1dc8..35ed4825 100644
--- a/Graphics/GraphicsTools/interface/DynamicTextureAtlas.h
+++ b/Graphics/GraphicsTools/interface/DynamicTextureAtlas.h
@@ -106,7 +106,7 @@ struct IDynamicTextureAtlas : public IObject
/// Returns the texture atlas description
- const TextureDesc& GetAtlasDesc() const;
+ virtual const TextureDesc& GetAtlasDesc() const = 0;
/// Returns internal texture array version. The version is incremented every time
/// the array is expanded.
diff --git a/Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp b/Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp
index 026d8f54..a5c6b4e5 100644
--- a/Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp
+++ b/Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp
@@ -304,7 +304,7 @@ public:
pSliceMgr->Free(std::move(Subregion));
}
- virtual const TextureDesc& GetAtlasDesc() const
+ virtual const TextureDesc& GetAtlasDesc() const override final
{
return m_Desc;
}