From ab8d3579d50fddbc9296c769ec99cff06164f3cc Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Thu, 15 Jun 2017 10:20:24 +0300 Subject: Improved metaline rendering --- drape/texture.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drape/texture.hpp') diff --git a/drape/texture.hpp b/drape/texture.hpp index b795855793..dc3a3927db 100644 --- a/drape/texture.hpp +++ b/drape/texture.hpp @@ -57,9 +57,10 @@ public: void UploadData(uint32_t x, uint32_t y, uint32_t width, uint32_t height, ref_ptr data); - TextureFormat GetFormat() const; - uint32_t GetWidth() const; - uint32_t GetHeight() const; + virtual TextureFormat GetFormat() const; + virtual uint32_t GetWidth() const; + virtual uint32_t GetHeight() const; + float GetS(uint32_t x) const; float GetT(uint32_t y) const; int32_t GetID() const; @@ -75,7 +76,6 @@ protected: void Destroy(); bool AllocateTexture(ref_ptr allocator); -private: drape_ptr m_hwTexture; }; } // namespace dp -- cgit v1.2.3