From 57de87533da5ff150c80a3dbc7a776476a6f2218 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 1 Mar 2024 18:04:19 +0100 Subject: ok --- main/setup.cpp | 9 ++++----- 1 file 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, }; -- cgit v1.2.3