mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-24 15:29:29 +02:00
+ Merged revision 505
git-svn-id: branches/fixes_2_0@506 -
This commit is contained in:
parent
c0d773c749
commit
5048841b53
@ -472,7 +472,7 @@ end;
|
||||
function TFPWriterPNG.ColorDataColorW(color:TFPColor) : TColorData;
|
||||
begin
|
||||
with color do
|
||||
result := red + (green shl 16) + (blue shl 32);
|
||||
result := red + (green shl 16) + (qword(blue) shl 32);
|
||||
end;
|
||||
|
||||
function TFPWriterPNG.ColorDataColorAB(color:TFPColor) : TColorData;
|
||||
@ -484,7 +484,7 @@ end;
|
||||
function TFPWriterPNG.ColorDataColorAW(color:TFPColor) : TColorData;
|
||||
begin
|
||||
with color do
|
||||
result := red + (green shl 16) + (blue shl 32) + (alpha shl 48);
|
||||
result := red + (green shl 16) + (qword(blue) shl 32) + (qword(alpha) shl 48);
|
||||
end;
|
||||
|
||||
{ Data making routines }
|
||||
|
Loading…
Reference in New Issue
Block a user