From 9f1caeadc8d1affe005ebc33f63476b0fb8bc1b1 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 7 Dec 2020 21:08:42 -0800 Subject: Fixed minor issue with IDynamicTextureAtlas::GetAtlasDesc not being pure virtual --- Graphics/GraphicsTools/interface/DynamicTextureAtlas.h | 2 +- Graphics/GraphicsTools/src/DynamicTextureAtlas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsTools') 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; } -- cgit v1.2.3