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>2015-07-08 15:50:43 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:09:31 +0300
commit99d172530c1077924bbeb002afbf4a34d26c9243 (patch)
tree83deefbd7053040b80936c5011256f57cef4fcc6 /drape/texture.hpp
parent7b95adff42ca55aaac61d6f00bad8ffb233da975 (diff)
Added symbols reloading on changing map style
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r--drape/texture.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/drape/texture.hpp b/drape/texture.hpp
index 405c5373c6..705bfcc96e 100644
--- a/drape/texture.hpp
+++ b/drape/texture.hpp
@@ -49,6 +49,7 @@ public:
void Create(uint32_t width, uint32_t height, TextureFormat format);
void Create(uint32_t width, uint32_t height, TextureFormat format, ref_ptr<void> data);
+
void SetFilterParams(glConst minFilter, glConst magFilter);
void SetWrapMode(glConst sMode, glConst tMode);
@@ -69,6 +70,9 @@ public:
static uint32_t GetMaxTextureSize();
+protected:
+ void Destroy();
+
private:
void UnpackFormat(TextureFormat format, glConst & layout, glConst & pixelType);
int32_t GetID() const;