Index: src/core/SkBlitRow_D16.cpp |
diff --git a/src/core/SkBlitRow_D16.cpp b/src/core/SkBlitRow_D16.cpp |
index 6bf4cea9974f5d4488a65bd6aec532ccbe8096e5..d875cca580861d639def3eb42bf3e3135193277e 100644 |
--- a/src/core/SkBlitRow_D16.cpp |
+++ b/src/core/SkBlitRow_D16.cpp |
@@ -211,10 +211,10 @@ static uint32_t pmcolor_to_expand16(SkPMColor c) { |
return (g << 24) | (r << 13) | (b << 2); |
} |
-static void Color32A_D565(uint16_t dst[], SkPMColor src, int count, int x, int y) { |
+static void Color32A_D565(uint16_t dst[], SkPMColor src[], int count, int x, int y) { |
SkASSERT(count > 0); |
- uint32_t src_expand = pmcolor_to_expand16(src); |
- unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; |
+ uint32_t src_expand = pmcolor_to_expand16(*src); |
+ unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(*src)) >> 3; |
do { |
uint32_t dst_expand = SkExpand_rgb_16(*dst) * scale; |
*dst = SkCompact_rgb_16((src_expand + dst_expand) >> 5); |