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>2013-12-15 15:42:14 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:08:55 +0300
commit82ec0dbcb54fca347464e7bd1d694fd97d71c580 (patch)
treef294edc68647811e0c368249862bd92a2344a181 /drape/texture.hpp
parent627724b1dafd39385170c8eb0cc17fb80cfe9ece (diff)
pointers refactoring
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r--drape/texture.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/drape/texture.hpp b/drape/texture.hpp
index 44507b9d5b..536d871504 100644
--- a/drape/texture.hpp
+++ b/drape/texture.hpp
@@ -57,24 +57,24 @@ private:
class TextureBinding
{
public:
- TextureBinding(const string & uniformName, bool isEnabled, uint8_t samplerBlock, ReferencePoiner<Texture> texture);
+ TextureBinding(const string & uniformName, bool isEnabled, uint8_t samplerBlock, RefPointer<Texture> texture);
void Bind(int8_t uniformLocation);
bool IsEnabled() const;
const string & GetUniformName() const;
void SetIsEnabled(bool isEnabled);
- void SetTexture(ReferencePoiner<Texture> texture);
+ void SetTexture(RefPointer<Texture> texture);
bool operator<(const TextureBinding & other) const
{
return m_isEnabled < other.m_isEnabled
|| m_samplerBlock < other.m_samplerBlock
- || m_texture < other.m_texture;
+ || m_texture.IsContentLess(other.m_texture);
}
private:
string m_uniformName;
bool m_isEnabled;
uint8_t m_samplerBlock;
- ReferencePoiner<Texture> m_texture;
+ RefPointer<Texture> m_texture;
};