From 07d8adea58ec5b6b51704be1caf84012b0049313 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Oct 2022 23:41:39 +0200 Subject: a --- src/wireframe-mesh.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wireframe-mesh.hpp') diff --git a/src/wireframe-mesh.hpp b/src/wireframe-mesh.hpp index 855e673a..7a6892c2 100644 --- a/src/wireframe-mesh.hpp +++ b/src/wireframe-mesh.hpp @@ -24,7 +24,6 @@ concept traits = requires (const T& x) { {x.make_vertex_array() } -> std::same_as>; }; - struct null final { static constexpr auto primitive = GL::MeshPrimitive::Triangles; @@ -58,7 +57,7 @@ struct wireframe_mesh final void draw(tile_shader& shader, T traits); private: - GL::Buffer _vertex_buffer{}, _texcoords_buffer{std::array{}}; + GL::Buffer _vertex_buffer{std::array{}}, _texcoords_buffer{std::array{}}; GL::RectangleTexture _texture = wireframe::null::make_constant_texture(); GL::Mesh _mesh; }; -- cgit v1.2.3