diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-04-16 14:48:30 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:04:17 +0300 |
commit | 734b0a10b024dac63a26710522683fdb0209a0b5 (patch) | |
tree | 96554add69ea14b6d9e2ed13eb17fdeb3a763eb4 /drape/uniform_value.cpp | |
parent | 4d6dcfc596953ef570d1d51f11416cdd5298999c (diff) |
Pointers refactoring
Diffstat (limited to 'drape/uniform_value.cpp')
-rw-r--r-- | drape/uniform_value.cpp | 2 |
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)); |