From d5955d35b9fd32b31b4cd7b5b6f286e1b9c43494 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 15 Oct 2022 22:21:17 +0200 Subject: a --- draw/wireframe-mesh.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'draw/wireframe-mesh.hpp') diff --git a/draw/wireframe-mesh.hpp b/draw/wireframe-mesh.hpp index bd15a0bf..40471f8d 100644 --- a/draw/wireframe-mesh.hpp +++ b/draw/wireframe-mesh.hpp @@ -7,7 +7,7 @@ #include #include #include -#include "Magnum/GL/RectangleTexture.h" +#include "Magnum/GL/Texture.h" namespace floormat { @@ -28,9 +28,9 @@ concept traits = requires (const T& x) { struct mesh_base { - static GL::RectangleTexture make_constant_texture(); + static GL::Texture2D make_constant_texture(); GL::Buffer _vertex_buffer{{}, GL::BufferUsage::DynamicDraw}, _texcoords_buffer, _index_buffer; - GL::RectangleTexture _texture = make_constant_texture(); + GL::Texture2D _texture = make_constant_texture(); GL::Mesh _mesh; mesh_base(GL::MeshPrimitive primitive, Containers::ArrayView index_data, -- cgit v1.2.3