internal: fix name confusion in SAlphaValue

fixes #10251
This commit is contained in:
Vaxry 2025-05-02 16:29:04 +01:00
parent f1ac1847ff
commit 77ecf09506
No known key found for this signature in database
GPG key ID: 665806380871D640
2 changed files with 7 additions and 7 deletions

View file

@ -68,13 +68,13 @@ class IWindowTransformer;
struct SAlphaValue {
float alpha;
bool override;
bool overridden;
float applyAlpha(float alpha) const {
if (override)
float applyAlpha(float a) const {
if (overridden)
return alpha;
else
return alpha * alpha;
return alpha * a;
};
};