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>2015-04-16 14:48:30 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:04:17 +0300
commit734b0a10b024dac63a26710522683fdb0209a0b5 (patch)
tree96554add69ea14b6d9e2ed13eb17fdeb3a763eb4 /drape/uniform_value.cpp
parent4d6dcfc596953ef570d1d51f11416cdd5298999c (diff)
Pointers refactoring
Diffstat (limited to 'drape/uniform_value.cpp')
-rw-r--r--drape/uniform_value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drape/uniform_value.cpp b/drape/uniform_value.cpp
index 9baeacb3a6..3d6d9e8243 100644
--- a/drape/uniform_value.cpp
+++ b/drape/uniform_value.cpp
@@ -230,7 +230,7 @@ void UniformValue::SetMatrix4x4Value(float const * matrixValue)
memcpy(CastMemory<float>(), matrixValue, 4 * 4 * sizeof(float));
}
-void UniformValue::Apply(RefPointer<GpuProgram> program) const
+void UniformValue::Apply(ref_ptr<GpuProgram> program) const
{
ASSERT(program->HasUniform(m_name, GetCorrespondingGLType(), 1),
("Failed to find uniform", m_name, GetCorrespondingGLType(), 1));