Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-06-15 10:20:24 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-06-16 14:19:03 +0300
commitab8d3579d50fddbc9296c769ec99cff06164f3cc (patch)
tree874f361ee405983c8ed6d147571a50863628bece /drape/texture.hpp
parent8606c53a1c1f19da6e736b5a71a6830cbd02a8af (diff)
Improved metaline rendering
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r--drape/texture.hpp8
1 files changed, 4 insertions, 4 deletions
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<void> 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<HWTextureAllocator> allocator);
-private:
drape_ptr<HWTexture> m_hwTexture;
};
} // namespace dp