diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2013-09-18 15:45:42 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:02:45 +0300 |
commit | 968c2365395dd73218d6242a7fc2fb0f72d21fe6 (patch) | |
tree | dc5b1d3aac54d09806d7e061c6df29d8d6560e4c /drape/texture.hpp | |
parent | 70ffc276a0aaf69000a8658cd137c2622066fb27 (diff) |
[drape] review fixes
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r-- | drape/texture.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drape/texture.hpp b/drape/texture.hpp index f03724d2a9..4d18f11163 100644 --- a/drape/texture.hpp +++ b/drape/texture.hpp @@ -56,13 +56,13 @@ private: class TextureBinding { public: - TextureBinding(const string & uniformName, bool isEnabled, uint8_t samplerBlock, WeakPointer<Texture> texture); + TextureBinding(const string & uniformName, bool isEnabled, uint8_t samplerBlock, ReferencePoiner<Texture> texture); void Bind(int8_t uniformLocation); bool IsEnabled() const; const string & GetUniformName() const; void SetIsEnabled(bool isEnabled); - void SetTexture(WeakPointer<Texture> texture); + void SetTexture(ReferencePoiner<Texture> texture); bool operator<(const TextureBinding & other) const { @@ -75,5 +75,5 @@ private: string m_uniformName; bool m_isEnabled; uint8_t m_samplerBlock; - WeakPointer<Texture> m_texture; + ReferencePoiner<Texture> m_texture; }; |