summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-09 16:17:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-09 16:17:23 +0100
commit1febb02d958fa4cf8c15e3ca18f9d644f9fc80fb (patch)
treed9b389f6c2ff8e031bd70d503c289bcfddf2f048 /draw/wireframe.hpp
parent09605450ecc99ad1f4d50e9c143fda6c7762e702 (diff)
depth buffer works!
Diffstat (limited to 'draw/wireframe.hpp')
-rw-r--r--draw/wireframe.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wireframe.hpp b/draw/wireframe.hpp
index 1d58ff43..400fbee7 100644
--- a/draw/wireframe.hpp
+++ b/draw/wireframe.hpp
@@ -25,7 +25,7 @@ concept traits = requires (const T& x) {
struct mesh_base
{
static GL::Texture2D make_constant_texture();
- GL::Buffer _vertex_buffer{{}, GL::BufferUsage::DynamicDraw}, _texcoords_buffer, _index_buffer;
+ GL::Buffer _vertex_buffer{{}, GL::BufferUsage::DynamicDraw}, _constant_buffer, _index_buffer;
GL::Texture2D _texture = make_constant_texture();
GL::Mesh _mesh;