mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Use SrcOver mode in SkiaSurface::drawRgbaSurface()
This commit is contained in:
parent
3674399d0b
commit
bb7d629471
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user