mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Cleaned up some vertex data-related code.
--HG-- branch : minor
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user