aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSpriteBlitter_RGB16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkSpriteBlitter_RGB16.cpp')
-rw-r--r--src/core/SkSpriteBlitter_RGB16.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkSpriteBlitter_RGB16.cpp b/src/core/SkSpriteBlitter_RGB16.cpp
index 9df7dab48c..6c5a7cb130 100644
--- a/src/core/SkSpriteBlitter_RGB16.cpp
+++ b/src/core/SkSpriteBlitter_RGB16.cpp
@@ -307,7 +307,7 @@ SkSpriteBlitter* SkSpriteBlitter::ChooseD16(const SkPixmap& source, const SkPain
if (paint.getMaskFilter() != nullptr) { // may add cases for this
return nullptr;
}
- if (!paint.isSrcOver()) { // may add cases for this
+ if (paint.getXfermode() != nullptr) { // may add cases for this
return nullptr;
}
if (paint.getColorFilter() != nullptr) { // may add cases for this