drop luminance parens
The diff is tiny and not at all important. Change-Id: I7fa1430975e5f2d08086929a8ba2305d0c64f196 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281788 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com> Auto-Submit: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
a77cdee048
commit
1ae9672e10
@ -1205,7 +1205,7 @@ namespace skvm {
|
||||
}
|
||||
|
||||
static skvm::F32 luminance(skvm::F32 r, skvm::F32 g, skvm::F32 b) {
|
||||
return r*0.30f + (g*0.59f + b*0.11f);
|
||||
return r*0.30f + g*0.59f + b*0.11f;
|
||||
}
|
||||
|
||||
static void set_sat(skvm::F32* r, skvm::F32* g, skvm::F32* b, skvm::F32 s) {
|
||||
|
Loading…
Reference in New Issue
Block a user