summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-07 17:50:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-08 08:29:12 +0100
commit9a6a923c68afc4e9b6f47164c7ae9b2ed67bcf77 (patch)
tree9123a47535b14f38fa8a171797fafdf492987920 /editor
parentea90834553ca195049c41892c1356e157ec6d203 (diff)
src, draw: don't overallocate ground & wall vbo's
Diffstat (limited to 'editor')
-rw-r--r--editor/scenery-editor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scenery-editor.hpp b/editor/scenery-editor.hpp
index 8e47a6b8..647d6b47 100644
--- a/editor/scenery-editor.hpp
+++ b/editor/scenery-editor.hpp
@@ -31,7 +31,7 @@ struct scenery_editor final
bool is_atlas_selected(const std::shared_ptr<anim_atlas>& atlas) const;
bool is_item_selected(const scenery_& s) const;
bool is_anything_selected() const;
- void place_tile(world& w, global_coords pos, const scenery_& s);
+ static void place_tile(world& w, global_coords pos, const scenery_& s);
auto cbegin() const noexcept { return _atlases.cbegin(); }
auto cend() const noexcept { return _atlases.cend(); }