Index: src/opts/SkColorCubeFilter_opts.h |
diff --git a/src/opts/SkColorCubeFilter_opts.h b/src/opts/SkColorCubeFilter_opts.h |
index 325d7aa6498fccbb7a82b5501b64f9eff5e5239e..92c75664d29d97716a91a15d0f2f8fa3a7271b9e 100644 |
--- a/src/opts/SkColorCubeFilter_opts.h |
+++ b/src/opts/SkColorCubeFilter_opts.h |
@@ -70,7 +70,7 @@ void color_cube_filter_span(const SkPMColor src[], |
} |
if (a != 255) { |
- color = color * Sk4f(((float)a) / 255); |
+ color = color * Sk4f(a * 1.0f/255); |
} |
dst[i] = color.round(); |