mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 23:12:22 +00:00
LibSoftGPU: Mark wrap_clamp
as [[maybe_unused]]
This was breaking the fuzzer build becaues the function is not used if the `CLAMP_DEPRECATED_BEHAVIOR` constexpr is not `true` during compile time.
This commit is contained in:
parent
d9af659a12
commit
ca093f442c
Notes:
sideshowbarker
2024-07-17 22:07:51 +09:00
Author: https://github.com/Quaker762
Commit: ca093f442c
Pull-request: https://github.com/SerenityOS/serenity/pull/11442
Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ static constexpr float wrap_repeat(float value)
|
|||
return fracf(value);
|
||||
}
|
||||
|
||||
static constexpr float wrap_clamp(float value)
|
||||
[[maybe_unused]] static constexpr float wrap_clamp(float value)
|
||||
{
|
||||
return clamp(value, 0.0f, 1.0f);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue