diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:04:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:20:04 +0100 |
commit | 57de87533da5ff150c80a3dbc7a776476a6f2218 (patch) | |
tree | d5430b1323421da059eb4f64356a63eea4c24f44 /main | |
parent | 4eea7f267335e91cd85749b6c273511a0a0788d6 (diff) |
ok
Diffstat (limited to 'main')
-rw-r--r-- | main/setup.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/setup.cpp b/main/setup.cpp index 2c5600e3..8edf38e3 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -103,11 +103,6 @@ auto main_impl::make_gl_conf(const fm_settings&) -> GLConfiguration .setStencilBufferSize(0); } -void main_impl::update_window_state() // todo! window minimized, out of focus, fake vsync etc -{ -} - - static int get_window_refresh_rate(SDL_Window* window) { fm_assert(window != nullptr); @@ -120,6 +115,10 @@ static int get_window_refresh_rate(SDL_Window* window) return 30; } +void main_impl::update_window_state() // todo! window minimized, out of focus, fake vsync etc +{ +} + auto main_impl::meshes() noexcept -> struct meshes { return { _ground_mesh, _wall_mesh, _anim_mesh, }; |