[aseprite] 150/250: Fix to_skia(gfx::Color) impl

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 1d69edccedc766cfcfaef204c0198b67a58e365e
Author: David Capello <davidcapello at gmail.com>
Date:   Sat Oct 10 12:15:40 2015 -0300

    Fix to_skia(gfx::Color) impl
---
 src/she/skia/skia_surface.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/she/skia/skia_surface.h b/src/she/skia/skia_surface.h
index d888482..cc01676 100644
--- a/src/she/skia/skia_surface.h
+++ b/src/she/skia/skia_surface.h
@@ -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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list