summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-09 23:01:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-09 23:01:25 +0200
commit1189ab4d0144051228eb4265ed0777e0e4c2e5cd (patch)
treed69d2306bfae5ac5a6a75782b11ea7a12a48263f /serialize
parenta5d5ad64ff97201e2ccf83c1d79008190906ebcd (diff)
switch to using corrade Arrays for scratch bufs
Diffstat (limited to 'serialize')
-rw-r--r--serialize/world-reader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp
index 69f7c58e..b9a6a528 100644
--- a/serialize/world-reader.cpp
+++ b/serialize/world-reader.cpp
@@ -40,8 +40,8 @@ private:
uint16_t PROTO = proto_version;
Array<chunk::entity_draw_order> draw_array;
- std::vector<std::array<chunk::vertex, 4>> draw_vertexes;
- std::vector<std::array<UnsignedShort, 6>> draw_indexes;
+ Array<std::array<chunk::vertex, 4>> draw_vertexes;
+ Array<std::array<UnsignedShort, 6>> draw_indexes;
};
reader_state::reader_state(world& world) noexcept : _world{&world} {}