diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-15 22:21:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-15 22:21:17 +0200 |
commit | d5955d35b9fd32b31b4cd7b5b6f286e1b9c43494 (patch) | |
tree | 1f6893c7c7177088d6fd7166d78b87262ec201dc /draw/wireframe-mesh.hpp | |
parent | 1e8d16fe10917664f9520008f224f19692c3a668 (diff) |
a
Diffstat (limited to 'draw/wireframe-mesh.hpp')
-rw-r--r-- | draw/wireframe-mesh.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <Magnum/Math/Vector2.h> #include <Magnum/GL/Buffer.h> #include <Magnum/GL/Mesh.h> -#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<const void> index_data, |