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:
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