From 9a6a923c68afc4e9b6f47164c7ae9b2ed67bcf77 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 7 Dec 2022 17:50:50 +0100 Subject: src, draw: don't overallocate ground & wall vbo's --- editor/scenery-editor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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& 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(); } -- cgit v1.2.3