You've already forked lazarus-ccr
LazMapViewer: Fix bitmap format error in Linux.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -788,7 +788,8 @@ var
|
||||
rawImg: TRawImage;
|
||||
begin
|
||||
rawImg.Init;
|
||||
rawImg.Description.Init_BPP24_B8G8R8_BIO_TTB(AWidth, AHeight);
|
||||
//rawImg.Description.Init_BPP24_B8G8R8_BIO_TTB(AWidth, AHeight);
|
||||
rawImg.Description.Init_BPP32_B8G8R8_BIO_TTB(AWidth, AHeight);
|
||||
rawImg.CreateData(True);
|
||||
ABuffer := TLazIntfImage.Create(rawImg, true);
|
||||
ACanvas := TFPImageCanvas.Create(ABuffer);
|
||||
|
Reference in New Issue
Block a user