diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-23 08:01:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-23 08:01:57 +0100 |
commit | e5d5fe63545a4b67e9c148ad35f4545a1c496028 (patch) | |
tree | efe9739f0be2b67eb8faede024b15d1aa302763c | |
parent | d29c655bf4de4f40374c2ef3d4497e4662222eca (diff) |
some crap
-rw-r--r-- | editor/imgui.cpp | 2 | ||||
-rw-r--r-- | main/draw.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index afa55485..53d39de8 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -42,7 +42,7 @@ float app::draw_main_menu() ImGui::Separator(); #endif bool do_quit = false; - ImGui::MenuItem("menu_quit", "Ctrl+Q", &do_quit); + ImGui::MenuItem("Quit", "Ctrl+Q", &do_quit); if (do_quit) do_key(key_quit, kmod_none); } diff --git a/main/draw.cpp b/main/draw.cpp index 67d1eecb..aa1b6f2e 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -132,7 +132,6 @@ void main_impl::draw_anim() noexcept GL::Renderer::disable(GL::Renderer::Feature::DepthTest); } - bool main_impl::check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept { constexpr Vector3d len = dTILE_SIZE * TILE_MAX_DIM20d; |