diff options
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/interface/DynamicTextureAtlas.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp | 2 |
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; } |
