Cleaned up some vertex data-related code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-10-22 12:33:47 -03:00
parent 4f8e04d391
commit 7a2e52b12d
18 changed files with 308 additions and 324 deletions
+1 -1
View File
@@ -669,7 +669,7 @@ ptrdiff_t Shader::getHandle() const
return program;
}
GLint Shader::getAttribLocation(const std::string &name)
int Shader::getVertexAttributeIndex(const std::string &name)
{
auto it = attributes.find(name);
if (it != attributes.end())