git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1586 8e941d3f-bd1b-0410-a28a-d453659cc2b4

This commit is contained in:
yangjixian
2011-04-21 00:49:50 +00:00
parent 737fae9e04
commit 169d228808

View File

@ -16,7 +16,11 @@ type
rgbtAlpha: byte;
end;
PRGBATriple = ^TRGBATriple;
{$ifdef MSWINDOWS}
TRGBATriple = tagRGBTRIPLE;
{$else}
TRGBATriple = tagRGBATRIPLE;
{$endif}
PRGBATripleArray = ^TRGBATripleArray;
TRGBATripleArray = array[word] of TRGBATriple;
@ -86,11 +90,7 @@ implementation
constructor TDLBitmap.Create;
begin
inherited;
{$ifdef MSWINDOWS}
PixelFormat := pf32bit;
{$else}
PixelFormat := pf24bit;
{$endif}
FIntfImgA := TLazIntfImage.Create(0, 0);
end;