[aseprite] 138/196: SkiaSurface::create() creates opaque images (alpha isn't needed)
Tobias Hansen
thansen at moszumanska.debian.org
Wed Apr 20 18:50:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 939e86f5e4354ebfeb87a5cff590969d46281118
Author: David Capello <davidcapello at gmail.com>
Date: Mon Apr 4 10:07:22 2016 -0300
SkiaSurface::create() creates opaque images (alpha isn't needed)
---
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 0daf66d..0da7e81 100644
--- a/src/she/skia/skia_surface.h
+++ b/src/she/skia/skia_surface.h
@@ -58,7 +58,7 @@ public:
ASSERT(!m_surface);
if (!m_bitmap.tryAllocPixels(
- SkImageInfo::MakeN32Premul(width, height)))
+ SkImageInfo::MakeN32(width, height, kOpaque_SkAlphaType)))
throw base::Exception("Cannot create Skia surface");
m_bitmap.eraseColor(SK_ColorTRANSPARENT);
--
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