mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix list of data types in the error message when using an invalid vertex data type in the deprecated type+component count vertex format declaration.
This commit is contained in:
@@ -1912,7 +1912,7 @@ static Mesh *newCustomMesh(lua_State *L)
|
||||
}
|
||||
|
||||
if (decl.format == DATAFORMAT_MAX_ENUM)
|
||||
luax_enumerror(L, "vertex data format", getConstants(decl.format), tname);
|
||||
luax_enumerror(L, "vertex data type", {"float", "byte", "unorm8", "unorm16"}, tname);
|
||||
|
||||
lua_pop(L, 3);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user