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>2019-05-13 16:06:43 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2019-05-17 18:45:59 +0300
commit1a69dca9aa33328c43d293cff461a012e01ac826 (patch)
tree2c55019ab4d26a72f25c069f685610c1620d2a98 /drape/symbols_texture.cpp
parent0922584825bc153c50506890c1e9ba778fbd25d8 (diff)
[drape] Fixed update map style
Diffstat (limited to 'drape/symbols_texture.cpp')
-rw-r--r--drape/symbols_texture.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/drape/symbols_texture.cpp b/drape/symbols_texture.cpp
index ce9bc4ea77..399acef8f4 100644
--- a/drape/symbols_texture.cpp
+++ b/drape/symbols_texture.cpp
@@ -244,6 +244,14 @@ void SymbolsTexture::Invalidate(ref_ptr<dp::GraphicsContext> context, std::strin
Load(context, skinPathName, allocator);
}
+void SymbolsTexture::Invalidate(ref_ptr<dp::GraphicsContext> context, std::string const & skinPathName,
+ ref_ptr<HWTextureAllocator> allocator,
+ std::vector<drape_ptr<HWTexture>> & internalTextures)
+{
+ internalTextures.push_back(std::move(m_hwTexture));
+ Invalidate(context, skinPathName, allocator);
+}
+
ref_ptr<Texture::ResourceInfo> SymbolsTexture::FindResource(Texture::Key const & key, bool & newResource)
{
newResource = false;