aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkBlitRow_D32.cpp1
-rw-r--r--src/opts/SkBlitRow_opts_SSE2.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkBlitRow_D32.cpp b/src/core/SkBlitRow_D32.cpp
index 35fb60fb34..97aa665cb9 100644
--- a/src/core/SkBlitRow_D32.cpp
+++ b/src/core/SkBlitRow_D32.cpp
@@ -162,6 +162,7 @@ void SkBlitRow::Color32(SkPMColor* SK_RESTRICT dst,
if (src != dst) {
memcpy(dst, src, count * sizeof(SkPMColor));
}
+ return;
}
unsigned colorA = SkGetPackedA32(color);
if (255 == colorA) {
diff --git a/src/opts/SkBlitRow_opts_SSE2.cpp b/src/opts/SkBlitRow_opts_SSE2.cpp
index 103e7ed381..f03468f830 100644
--- a/src/opts/SkBlitRow_opts_SSE2.cpp
+++ b/src/opts/SkBlitRow_opts_SSE2.cpp
@@ -318,6 +318,7 @@ void Color32_SSE2(SkPMColor dst[], const SkPMColor src[], int count,
if (src != dst) {
memcpy(dst, src, count * sizeof(SkPMColor));
}
+ return;
}
unsigned colorA = SkGetPackedA32(color);