From 0fa4a8542bf9eda8bd9c28da199b3e90e04279b9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 22 Nov 2022 03:19:29 +0100 Subject: wip --- main/setup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/setup.cpp') diff --git a/main/setup.cpp b/main/setup.cpp index 1329374a..040c9bdd 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -21,6 +21,7 @@ main_impl::main_impl(floormat_app& app, fm_settings&& s, int& fake_argc) noexcep (void)setSwapInterval(0); set_fp_mask(); fm_assert(framebufferSize() == windowSize()); + _clickable_scenery.reserve(128); timeline.start(); } @@ -57,7 +58,7 @@ auto main_impl::make_conf(const fm_settings& s) -> Configuration } return Configuration{} .setTitle(s.title) - .setSize(s.resolution) + .setSize(s.resolution, Vector2(1, 1)) .setWindowFlags(make_window_flags(s)); } -- cgit v1.2.3