summaryrefslogtreecommitdiffhomepage
path: root/draw/wall-mesh.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-15 22:21:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-15 22:21:17 +0200
commitd5955d35b9fd32b31b4cd7b5b6f286e1b9c43494 (patch)
tree1f6893c7c7177088d6fd7166d78b87262ec201dc /draw/wall-mesh.hpp
parent1e8d16fe10917664f9520008f224f19692c3a668 (diff)
a
Diffstat (limited to 'draw/wall-mesh.hpp')
-rw-r--r--draw/wall-mesh.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wall-mesh.hpp b/draw/wall-mesh.hpp
index 364f3831..b021ef95 100644
--- a/draw/wall-mesh.hpp
+++ b/draw/wall-mesh.hpp
@@ -27,7 +27,7 @@ private:
using quad = std::array<vertex, 4>;
using vertex_array = std::array<quad, COUNT>;
- using texture_array = std::array<GL::RectangleTexture*, COUNT>;
+ using texture_array = std::array<GL::Texture2D*, COUNT>;
static void maybe_add_tile(vertex_array& data, texture_array& textures, tile& x, std::size_t pos);
static void add_wall(vertex_array& data, texture_array& textures, tile_image& img, std::size_t pos);