mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Rename internal C++ Color struct to Color32 to help differentiate it from Colorf.
This commit is contained in:
@@ -333,7 +333,7 @@ bool Shader::loadVolatile()
|
||||
for (int i = 0; i < int(ATTRIB_MAX_ENUM); i++)
|
||||
{
|
||||
const char *name = nullptr;
|
||||
if (vertex::getConstant((VertexAttribID) i, name))
|
||||
if (vertex::getConstant((BuiltinVertexAttribute) i, name))
|
||||
glBindAttribLocation(program, i, (const GLchar *) name);
|
||||
}
|
||||
|
||||
@@ -356,7 +356,7 @@ bool Shader::loadVolatile()
|
||||
for (int i = 0; i < int(ATTRIB_MAX_ENUM); i++)
|
||||
{
|
||||
const char *name = nullptr;
|
||||
if (vertex::getConstant(VertexAttribID(i), name))
|
||||
if (vertex::getConstant(BuiltinVertexAttribute(i), name))
|
||||
builtinAttributes[i] = glGetAttribLocation(program, name);
|
||||
else
|
||||
builtinAttributes[i] = -1;
|
||||
|
||||
Reference in New Issue
Block a user