diff options
author | Nico Weber <thakis@chromium.org> | 2022-10-04 15:03:18 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-04 23:35:07 +0100 |
commit | ff4b912b7cc302b2ca1b49e3156b565bc4811106 (patch) | |
tree | 8a0acf0bbdbe17acc53eb3f59376d28499c4ada3 /Userland/Libraries | |
parent | 636602a54e55945f7394805975a69dc40934331c (diff) | |
download | serenity-ff4b912b7cc302b2ca1b49e3156b565bc4811106.zip |
LibGfx: Remove a workaround for clang before 11
This bug has long been fixed.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibGfx/Gamma.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibGfx/Gamma.h b/Userland/Libraries/LibGfx/Gamma.h index face37f303..970961d048 100644 --- a/Userland/Libraries/LibGfx/Gamma.h +++ b/Userland/Libraries/LibGfx/Gamma.h @@ -42,13 +42,7 @@ using AK::SIMD::f32x4; // Transform f32x4 from gamma2.2 space to linear space // Assumes x is in range [0, 1] -// FIXME: Remove this hack once clang-11 is available as the default in Github Actions. -// This is apparently sometime mid-December. https://github.com/actions/virtual-environments/issues/2130 -# if !defined(__clang__) || __clang_major__ >= 11 constexpr f32x4 gamma_to_linear4(f32x4 x) -# else -inline f32x4 gamma_to_linear4(f32x4 x) -# endif { return (0.8f + 0.2f * x) * x * x; } |