summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-13 14:34:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-13 14:34:13 +0200
commitcb48724e0c5c599338da8b1d48d9c758eedd49fd (patch)
tree615d5c174319b23d7aac0bca1b3f3e4cfdd132fc
parentd109fa83bd9678fc3c9e21da48e90aa069ec1c7f (diff)
a
-rw-r--r--draw/wireframe-mesh.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wireframe-mesh.hpp b/draw/wireframe-mesh.hpp
index 6c1a7d3f..bd15a0bf 100644
--- a/draw/wireframe-mesh.hpp
+++ b/draw/wireframe-mesh.hpp
@@ -29,7 +29,7 @@ concept traits = requires (const T& x) {
struct mesh_base
{
static GL::RectangleTexture make_constant_texture();
- GL::Buffer _vertex_buffer, _texcoords_buffer, _index_buffer;
+ GL::Buffer _vertex_buffer{{}, GL::BufferUsage::DynamicDraw}, _texcoords_buffer, _index_buffer;
GL::RectangleTexture _texture = make_constant_texture();
GL::Mesh _mesh;