mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 10:50:53 +02:00
win32: remove occasional commited debug code
git-svn-id: trunk@16233 -
This commit is contained in:
parent
f4a27a76a4
commit
a6461c8562
@ -596,14 +596,14 @@ begin
|
||||
else
|
||||
ABitmap := Windows.CreateBitmap(ADesc.Width, ADesc.Height, 1, 1, ARawImage.Data);
|
||||
|
||||
DbgDumpBitmap(ABitmap, 'CreateBitmaps - Image');
|
||||
//DbgDumpBitmap(ABitmap, 'CreateBitmaps - Image');
|
||||
if ASkipMask then Exit(True);
|
||||
|
||||
AMask := Windows.CreateBitmap(ADesc.Width, ADesc.Height, 1, 1, ARawImage.Mask);
|
||||
if AMask = 0 then
|
||||
DebugLn('Windows.CreateBitmap returns 0. Reason = ' + GetLastErrorText(Windows.GetLastError));
|
||||
Result := AMask <> 0;
|
||||
DbgDumpBitmap(AMask, 'CreateBitmaps - Mask');
|
||||
//DbgDumpBitmap(AMask, 'CreateBitmaps - Mask');
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user