summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-09 22:01:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-09 22:01:05 +0200
commit8f77947d974ebbeb6b551dbf22b92028eb8e9109 (patch)
treec3cbb0a35655e09028d13d114281f56699da4405 /src/chunk.hpp
parent3c6e95bd369270e90472bc25f91dff76d0811b71 (diff)
Revert "draw: do batching in an easier way for now"
This reverts commit 3c6e95bd369270e90472bc25f91dff76d0811b71.
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index db6f96f7..be90c89a 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -125,7 +125,7 @@ private:
std::vector<std::array<vertex, 4>> scenery_vertexes;
struct world* _world;
- GL::Mesh ground_mesh{NoCreate}, wall_mesh{NoCreate};
+ GL::Mesh ground_mesh{NoCreate}, wall_mesh{NoCreate}, scenery_mesh{NoCreate};
RTree _rtree;