From 7a344a31c2567c7d6df98021b5953e0fff8f55dd Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 26 Apr 2025 23:13:38 +0300 Subject: [PATCH] =?UTF-8?q?fix=20warning:=20=E2=80=98Mesh::?= =?UTF-8?q?ibo=E2=80=99=20will=20be=20initialized=20after=20[-Wreorder]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/core/Mesh.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/core/Mesh.inl b/src/graphics/core/Mesh.inl index 5e1edcf2..72351dd4 100644 --- a/src/graphics/core/Mesh.inl +++ b/src/graphics/core/Mesh.inl @@ -12,9 +12,9 @@ Mesh::Mesh(const MeshData& data) template Mesh::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) {