Fix duplicated paramter name

This commit is contained in:
Marianne Gagnon 2014-07-18 20:11:40 -04:00
parent 071270cb5e
commit 7e8fb6bc16

View File

@ -144,8 +144,8 @@ protected:
uniforms.push_back(glGetUniformLocation(Program, name));
}
template<typename... T>
void AssignUniforms(const char* name, T... rest)
template<typename... U>
void AssignUniforms(const char* name, U... rest)
{
uniforms.push_back(glGetUniformLocation(Program, name));
AssignUniforms(rest...);