mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
fix warning: ‘Mesh<Batch2DVertex>::ibo’ will be initialized after [-Wreorder]
This commit is contained in:
parent
330b383d36
commit
7a344a31c2
1 changed files with 1 additions and 1 deletions
|
|
@ -12,9 +12,9 @@ Mesh<VertexStructure>::Mesh(const MeshData<VertexStructure>& data)
|
|||
|
||||
template<typename VertexStructure>
|
||||
Mesh<VertexStructure>::Mesh(const VertexStructure* vertexBuffer, size_t vertices, const uint32_t* indexBuffer, size_t indices, const VertexAttribute* attrs) :
|
||||
ibo(0),
|
||||
vao(0),
|
||||
vbo(0),
|
||||
ibo(0),
|
||||
vertexCount(0),
|
||||
indexCount(0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue