From 981aa8c2e7b519accfb42c9690dd04fb404122c5 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:46:49 +0100 Subject: Fix: Drawing bugs on Windows at very large scales (#1144) --- src/Fl_Graphics_Driver.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Fl_Graphics_Driver.cxx') diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 78678de55..4f69967d6 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -1199,7 +1199,6 @@ void Fl_Scalable_Graphics_Driver::draw_image_mono_unscaled(Fl_Draw_Image_Cb cb, float Fl_Scalable_Graphics_Driver::override_scale() { float s = scale(); if (s != 1.f) { - push_no_clip(); scale(1.f); } return s; @@ -1208,7 +1207,6 @@ float Fl_Scalable_Graphics_Driver::override_scale() { void Fl_Scalable_Graphics_Driver::restore_scale(float s) { if (s != 1.f) { scale(s); - pop_clip(); } } -- cgit v1.2.3