fix warning: ‘Mesh<Batch2DVertex>::ibo’ will be initialized after [-Wreorder]
This commit is contained in:
parent
330b383d36
commit
7a344a31c2
@ -12,9 +12,9 @@ Mesh<VertexStructure>::Mesh(const MeshData<VertexStructure>& data)
|
|||||||
|
|
||||||
template<typename VertexStructure>
|
template<typename VertexStructure>
|
||||||
Mesh<VertexStructure>::Mesh(const VertexStructure* vertexBuffer, size_t vertices, const uint32_t* indexBuffer, size_t indices, const VertexAttribute* attrs) :
|
Mesh<VertexStructure>::Mesh(const VertexStructure* vertexBuffer, size_t vertices, const uint32_t* indexBuffer, size_t indices, const VertexAttribute* attrs) :
|
||||||
ibo(0),
|
|
||||||
vao(0),
|
vao(0),
|
||||||
vbo(0),
|
vbo(0),
|
||||||
|
ibo(0),
|
||||||
vertexCount(0),
|
vertexCount(0),
|
||||||
indexCount(0)
|
indexCount(0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user