From 968c2365395dd73218d6242a7fc2fb0f72d21fe6 Mon Sep 17 00:00:00 2001 From: ExMix Date: Wed, 18 Sep 2013 14:45:42 +0300 Subject: [drape] review fixes --- drape/texture.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drape/texture.hpp') 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); + TextureBinding(const string & uniformName, bool isEnabled, uint8_t samplerBlock, ReferencePoiner texture); void Bind(int8_t uniformLocation); bool IsEnabled() const; const string & GetUniformName() const; void SetIsEnabled(bool isEnabled); - void SetTexture(WeakPointer texture); + void SetTexture(ReferencePoiner texture); bool operator<(const TextureBinding & other) const { @@ -75,5 +75,5 @@ private: string m_uniformName; bool m_isEnabled; uint8_t m_samplerBlock; - WeakPointer m_texture; + ReferencePoiner m_texture; }; -- cgit v1.2.3