mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibGfx: Remove ancient unused NO_FPU macros
This commit is contained in:
parent
0ed2a03450
commit
2432c5264b
2 changed files with 8 additions and 16 deletions
|
@ -34,8 +34,6 @@ namespace Gfx {
|
||||||
|
|
||||||
using AK::SIMD::f32x4;
|
using AK::SIMD::f32x4;
|
||||||
|
|
||||||
#ifndef NO_FPU
|
|
||||||
|
|
||||||
#ifdef __SSE__
|
#ifdef __SSE__
|
||||||
|
|
||||||
// Transform f32x4 from gamma2.2 space to linear space
|
// Transform f32x4 from gamma2.2 space to linear space
|
||||||
|
@ -122,6 +120,4 @@ inline Color gamma_accurate_blend(Color a, Color b, float mix)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,10 +228,6 @@ void Painter::fill_rect_with_gradient(Orientation orientation, const IntRect& a_
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NO_FPU
|
|
||||||
return fill_rect(a_rect, gradient_start);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
auto rect = to_physical(a_rect);
|
auto rect = to_physical(a_rect);
|
||||||
auto clipped_rect = IntRect::intersection(rect, clip_rect() * scale());
|
auto clipped_rect = IntRect::intersection(rect, clip_rect() * scale());
|
||||||
if (clipped_rect.is_empty())
|
if (clipped_rect.is_empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue