Renamed Shader:getExternVariable to Shader:getUniformVariable. The "extern" alias for shader uniforms is considered deprecated, although it still exists.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-09-01 18:15:25 -03:00
parent 0ca5e57c3f
commit ee79038572
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ int Shader::getTextureUnit(const std::string &name)
return texunit;
}
Shader::UniformType Shader::getExternVariable(const std::string &name, int &components, int &count)
Shader::UniformType Shader::getUniformVariable(const std::string &name, int &components, int &count)
{
auto it = uniforms.find(name);