summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:32:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:32:06 +0100
commit7ce9e7551738c6e8676b7dc513b12c2bf5ec60f7 (patch)
treed64748ba2f8b41e16346bd4fb78481f8571e4ec1
parent2141477c69d379b02ca52e0df9171834b37aadd7 (diff)
main: cleanup
-rw-r--r--main/main-impl.hpp3
-rw-r--r--main/setup.cpp6
2 files changed, 3 insertions, 6 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp
index dd745bef..945b2196 100644
--- a/main/main-impl.hpp
+++ b/main/main-impl.hpp
@@ -12,9 +12,6 @@
#include <Magnum/Timeline.h>
#include <Magnum/Math/Range.h>
#include <Magnum/GL/DebugOutput.h>
-#include <Magnum/GL/Framebuffer.h>
-#include <Magnum/GL/Renderbuffer.h>
-#include <Magnum/GL/RenderbufferFormat.h>
#include <Magnum/Platform/Sdl2Application.h>
namespace floormat {
diff --git a/main/setup.cpp b/main/setup.cpp
index 040c9bdd..b51378f7 100644
--- a/main/setup.cpp
+++ b/main/setup.cpp
@@ -5,10 +5,10 @@
namespace floormat {
-main_impl::main_impl(floormat_app& app, fm_settings&& s, int& fake_argc) noexcept :
+main_impl::main_impl(floormat_app& app, fm_settings&& se, int& fake_argc) noexcept :
Platform::Sdl2Application{Arguments{fake_argc, nullptr},
- make_conf(s), make_gl_conf(s)},
- s{std::move(s)}, app{app}
+ make_conf(se), make_gl_conf(se)},
+ s{std::move(se)}, app{app}
{
if (s.vsync)
{