mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:59:17 +02:00
* Disabled automatic mask handle creation
git-svn-id: trunk@12723 -
This commit is contained in:
parent
f745b551ef
commit
f597c76bad
@ -425,7 +425,9 @@ end;
|
|||||||
procedure TBitMap.MaskHandleNeeded;
|
procedure TBitMap.MaskHandleNeeded;
|
||||||
begin
|
begin
|
||||||
if (FImage.FMaskHandle <> 0) then exit;
|
if (FImage.FMaskHandle <> 0) then exit;
|
||||||
CreateMask;
|
// not now, breaks alpha images, since they report themselves as transparent
|
||||||
|
// while no mask is needed
|
||||||
|
// CreateMask;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TBitmap.LoadFromLazarusResource(const ResName: String);
|
procedure TBitmap.LoadFromLazarusResource(const ResName: String);
|
||||||
|
Loading…
Reference in New Issue
Block a user