From ea3ceff82a83e76c4525740d46d66d69345e23b8 Mon Sep 17 00:00:00 2001 From: Roman Sorokin Date: Mon, 15 Sep 2014 14:23:51 +0300 Subject: [PATCH] Correct texture updating --- drape/dynamic_texture.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drape/dynamic_texture.hpp b/drape/dynamic_texture.hpp index 971905bc7e..c043b3580d 100644 --- a/drape/dynamic_texture.hpp +++ b/drape/dynamic_texture.hpp @@ -26,10 +26,11 @@ public: virtual void UpdateState() { + this->Bind(); m_indexer.UploadResources(MakeStackRefPointer(this)); } -private: +public: mutable TIndexer m_indexer; };