[aseprite] 60/250: Fix from_allegro() auxiliary function to get correct alpha values
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:11 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 5e3ba8237a7216b0eba3f3be269d201786ed09c9
Author: David Capello <davidcapello at gmail.com>
Date: Fri Sep 18 18:17:33 2015 -0300
Fix from_allegro() auxiliary function to get correct alpha values
---
src/she/alleg4/alleg_surface.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/she/alleg4/alleg_surface.cpp b/src/she/alleg4/alleg_surface.cpp
index dc1df0e..3873e4a 100644
--- a/src/she/alleg4/alleg_surface.cpp
+++ b/src/she/alleg4/alleg_surface.cpp
@@ -72,7 +72,8 @@ inline gfx::Color from_allegro(int color_depth, int color)
return gfx::rgba(
getr_depth(color_depth, color),
getg_depth(color_depth, color),
- getb_depth(color_depth, color));
+ getb_depth(color_depth, color),
+ geta_depth(color_depth, color));
}
Alleg4Surface::Alleg4Surface(BITMAP* bmp, DestroyFlag destroy)
--
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