Merge remote-tracking branch 'upstream/lint-no-powf-core' into integration

This commit is contained in:
J. Nick Koston
2026-03-02 16:02:44 -10:00
4 changed files with 69 additions and 14 deletions
+2 -2
View File
@@ -707,7 +707,7 @@ float gamma_correct(float value, float gamma) {
if (gamma <= 0.0f)
return value;
return powf(value, gamma);
return powf(value, gamma); // NOLINT - deprecated, removal 2026.9.0
}
float gamma_uncorrect(float value, float gamma) {
if (value <= 0.0f)
@@ -715,7 +715,7 @@ float gamma_uncorrect(float value, float gamma) {
if (gamma <= 0.0f)
return value;
return powf(value, 1 / gamma);
return powf(value, 1 / gamma); // NOLINT - deprecated, removal 2026.9.0
}
void rgb_to_hsv(float red, float green, float blue, int &hue, float &saturation, float &value) {