mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Fix to_skia(gfx::Color) impl
This commit is contained in:
parent
7a00a0bfca
commit
1d69edcced
@ -24,7 +24,7 @@
|
||||
namespace she {
|
||||
|
||||
inline SkColor to_skia(gfx::Color c) {
|
||||
return SkPremultiplyARGBInline(gfx::geta(c), gfx::getr(c), gfx::getg(c), gfx::getb(c));
|
||||
return SkColorSetARGBInline(gfx::geta(c), gfx::getr(c), gfx::getg(c), gfx::getb(c));
|
||||
}
|
||||
|
||||
inline SkIRect to_skia(const gfx::Rect& rc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user