diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 20:52:56 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 21:11:55 +0100 |
commit | b83f447ff6978509fdf23e9813eff6d7b5a6ffa2 (patch) | |
tree | fc279e69a8335a452f4913960c55c6289a1c4d10 /main/main-impl.hpp | |
parent | 128e76192e7bc3cc12c01f67b36a54509433d893 (diff) |
main: set collect threshold depending on screen resolution
Diffstat (limited to 'main/main-impl.hpp')
-rw-r--r-- | main/main-impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp index deb5d73e..997b4980 100644 --- a/main/main-impl.hpp +++ b/main/main-impl.hpp @@ -91,6 +91,7 @@ private: void recalc_viewport(Vector2i fb_size, Vector2i win_size) noexcept; void draw_world() noexcept; + void update_collect_threshold(); draw_bounds get_draw_bounds() const noexcept override; |