summaryrefslogtreecommitdiffhomepage
path: root/main/draw.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:44:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:44:19 +0100
commitc021cbd3b8b93fac6d8f5950476bee1cf5f1a2cb (patch)
treeb92a26556423996521aa02c069916bc3ab743627 /main/draw.cpp
parent6e2d1e5842e9805f33cab7f0a8385c3ebb466172 (diff)
remove obsolete comments
Diffstat (limited to 'main/draw.cpp')
-rw-r--r--main/draw.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index 76081f9b..aef10add 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -84,7 +84,7 @@ void main_impl::draw_world() noexcept
GL::Renderer::disable(GL::Renderer::Feature::DepthTest);
}
-void main_impl::do_update() // todo! move to separate file
+void main_impl::do_update()
{
constexpr auto eps = 1e-5f;
auto dt = timeline.update();
@@ -112,7 +112,7 @@ void main_impl::bind() noexcept
framebuffer.fb.bind();
}
-void main_impl::drawEvent() // todo! move to separate file (with `do_update')
+void main_impl::drawEvent()
{
_shader.set_tint({1, 1, 1, 1});
@@ -146,5 +146,4 @@ ArrayView<clickable> main_impl::clickable_scenery() noexcept
{
return { _clickable_scenery.data(), _clickable_scenery.size() };
}
-
} // namespace floormat