summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Painter.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-18 11:03:57 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-18 11:35:51 +0200
commit2432c5264bbdda37b5ed8682f18049468f2d9060 (patch)
tree4a55f9104aa763d4b6e3e6fb03bd3fff0cafd840 /Userland/Libraries/LibGfx/Painter.cpp
parent0ed2a03450cc50b0f307fd2a8d04bf645e02d9d6 (diff)
downloadserenity-2432c5264bbdda37b5ed8682f18049468f2d9060.zip
LibGfx: Remove ancient unused NO_FPU macros
Diffstat (limited to 'Userland/Libraries/LibGfx/Painter.cpp')
-rw-r--r--Userland/Libraries/LibGfx/Painter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGfx/Painter.cpp b/Userland/Libraries/LibGfx/Painter.cpp
index 30cf9e4fee..b5f06dd68a 100644
--- a/Userland/Libraries/LibGfx/Painter.cpp
+++ b/Userland/Libraries/LibGfx/Painter.cpp
@@ -228,10 +228,6 @@ void Painter::fill_rect_with_gradient(Orientation orientation, const IntRect& a_
return;
}
-#ifdef NO_FPU
- return fill_rect(a_rect, gradient_start);
-#endif
-
auto rect = to_physical(a_rect);
auto clipped_rect = IntRect::intersection(rect, clip_rect() * scale());
if (clipped_rect.is_empty())