mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +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
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