Fixed shadow with transparency issue.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2095 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-25 12:19:22 +00:00
parent 9488200886
commit d8cb00e70c
4 changed files with 49 additions and 51 deletions

View file

@ -422,6 +422,7 @@ namespace GreenshotPlugin.Core {
// aIndex is only set if the pixel format supports "A".
aIndex = -1;
switch(bitmap.PixelFormat) {
case PixelFormat.Format32bppPArgb:
case PixelFormat.Format32bppArgb:
bIndex = 0;
gIndex = 1;