mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -58,6 +58,8 @@ static std::vector<Mesh::AttribFormat> getDefaultVertexFormat()
|
||||
return vertexformat;
|
||||
}
|
||||
|
||||
love::Type Mesh::type(&Drawable::type);
|
||||
|
||||
Mesh::Mesh(const std::vector<AttribFormat> &vertexformat, const void *data, size_t datasize, DrawMode drawmode, Usage usage)
|
||||
: vertexFormat(vertexformat)
|
||||
, vbo(nullptr)
|
||||
|
||||
Reference in New Issue
Block a user