summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-24 08:32:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-24 08:32:46 +0200
commit0635b7f5e8902856a86517aa921ac9f05e295917 (patch)
treed188e129f61f6027071bda67d778631cd03c5bec /editor
parenta0fde780a83d549c191e6aba5025b9e79c13ed39 (diff)
leave scissor test enabled
Diffstat (limited to 'editor')
-rw-r--r--editor/imgui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 5bb0ad67..e49b9120 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -96,8 +96,6 @@ float app::draw_main_menu()
void app::draw_ui()
{
- GL::Renderer::enable(GL::Renderer::Feature::ScissorTest);
-
const auto dpi = M->dpi_scale().min();
[[maybe_unused]] const auto style_ = style_saver{};
auto& style = ImGui::GetStyle();
@@ -129,8 +127,6 @@ void app::draw_ui()
draw_z_level();
do_popup_menu();
ImGui::EndFrame();
-
- GL::Renderer::disable(GL::Renderer::Feature::ScissorTest);
}
void app::draw_clickables()