diff options
Diffstat (limited to 'draw')
| -rw-r--r-- | draw/wireframe-mesh.hpp | 2 |
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; |
