From 0dd038ab619bafc701660f75ad1c75c85aebb497 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 20 Nov 2023 11:37:47 +0300 Subject: [PATCH] -Wreorder warning fix --- src/graphics/Mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/Mesh.cpp b/src/graphics/Mesh.cpp index 4e42f3fd..5b351112 100644 --- a/src/graphics/Mesh.cpp +++ b/src/graphics/Mesh.cpp @@ -4,9 +4,9 @@ int Mesh::meshesCount = 0; Mesh::Mesh(const float* vertexBuffer, size_t vertices, const int* indexBuffer, size_t indices, const vattr* attrs) : + ibo(0), vertices(vertices), - indices(indices), - ibo(0) + indices(indices) { meshesCount++; vertexSize = 0;