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:
authorExMix <rahuba.youri@mapswithme.com>2015-02-08 19:33:22 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:04:02 +0300
commit4520ae129f44865974191cdaf9d5c57628c6ee16 (patch)
treed1a0660091823e258b883edbb4559302644444a7 /drape/symbols_texture.cpp
parent5befdce1ec1c90e0824be29a023acae10d698245 (diff)
[drape] move upload dynamic resource into renderer thread to avoid ogl driver synchronization bug on Lenovo k900
Diffstat (limited to 'drape/symbols_texture.cpp')
-rw-r--r--drape/symbols_texture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drape/symbols_texture.cpp b/drape/symbols_texture.cpp
index f8f2434c86..4056400781 100644
--- a/drape/symbols_texture.cpp
+++ b/drape/symbols_texture.cpp
@@ -161,8 +161,9 @@ void SymbolsTexture::Load(string const & skinPathName)
stbi_image_free(data);
}
-RefPointer<Texture::ResourceInfo> SymbolsTexture::FindResource(Texture::Key const & key) const
+RefPointer<Texture::ResourceInfo> SymbolsTexture::FindResource(Texture::Key const & key, bool & newResource)
{
+ newResource = false;
if (key.GetType() != Texture::Symbol)
return RefPointer<ResourceInfo>();