Use SrcOver mode in SkiaSurface::drawRgbaSurface()

This commit is contained in:
David Capello 2015-05-22 11:02:46 -03:00
parent 3674399d0b
commit bb7d629471

View File

@ -285,7 +285,7 @@ public:
SkRect dstRect = SkRect::Make(SkIRect::MakeXYWH(clip.dst.x, clip.dst.y, clip.size.w, clip.size.h));
SkPaint paint;
paint.setXfermodeMode(SkXfermode::kSrcATop_Mode);
paint.setXfermodeMode(SkXfermode::kSrcOver_Mode);
m_canvas->drawBitmapRectToRect(
((SkiaSurface*)src)->m_bitmap, &srcRect, dstRect, &paint);