summaryrefslogtreecommitdiffhomepage
path: root/draw/wall-mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'draw/wall-mesh.cpp')
-rw-r--r--draw/wall-mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/wall-mesh.cpp b/draw/wall-mesh.cpp
index 81201598..c15be873 100644
--- a/draw/wall-mesh.cpp
+++ b/draw/wall-mesh.cpp
@@ -2,7 +2,7 @@
#include "tile-atlas.hpp"
#include "shaders/tile-shader.hpp"
#include "chunk.hpp"
-#include <Magnum/GL/RectangleTexture.h>
+#include <Magnum/GL/Texture.h>
#include <Magnum/GL/MeshView.h>
namespace floormat {
@@ -49,7 +49,7 @@ void wall_mesh::draw(tile_shader& shader, chunk& c)
_vertex_buffer.setSubData(0, data);
}
- const GL::RectangleTexture* last_texture = nullptr;
+ const GL::Texture2D* last_texture = nullptr;
Magnum::GL::MeshView mesh{_mesh};
for (std::size_t i = 0; i < COUNT; i++)
{