mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
-Wreorder warning fix
This commit is contained in:
parent
6feaa8dbc8
commit
0dd038ab61
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@
|
||||||
int Mesh::meshesCount = 0;
|
int Mesh::meshesCount = 0;
|
||||||
|
|
||||||
Mesh::Mesh(const float* vertexBuffer, size_t vertices, const int* indexBuffer, size_t indices, const vattr* attrs) :
|
Mesh::Mesh(const float* vertexBuffer, size_t vertices, const int* indexBuffer, size_t indices, const vattr* attrs) :
|
||||||
|
ibo(0),
|
||||||
vertices(vertices),
|
vertices(vertices),
|
||||||
indices(indices),
|
indices(indices)
|
||||||
ibo(0)
|
|
||||||
{
|
{
|
||||||
meshesCount++;
|
meshesCount++;
|
||||||
vertexSize = 0;
|
vertexSize = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue