ac05275755
Change-Id: I3f50d3bb85bebdece692e069de73febc2ce63b47
11 lines
259 B
Diff
11 lines
259 B
Diff
--- src/lib/LRFCollector.cpp
|
|
+++ src/lib/LRFCollector.cpp
|
|
@@ -50,7 +50,7 @@
|
|
{
|
|
assert(0 == bg.a);
|
|
|
|
- const double a = fg.a;
|
|
+ const double a = fg.a / 255.0;
|
|
|
|
const double r = (1 - a) * bg.r + a * fg.r;
|
|
const double g = (1 - a) * bg.g + a * fg.g;
|