diff options
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r-- | drape/texture.hpp | 4 |
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; |