* Fix the byte -> word expansion of the alpha channel on palette enties of a PNG image

git-svn-id: trunk@15926 -
This commit is contained in:
Marc Weustink 2010-08-31 21:09:40 +00:00
parent 349e5348f5
commit fb2fc006aa

View File

@ -196,7 +196,7 @@ procedure TFPReaderPNG.HandleAlpha;
begin
c := ThePalette[r];
a := data^[r];
c.alpha := (a shl 16) + a;
c.alpha := (a shl 8) + a;
ThePalette[r] := c;
end;
end;