mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 03:59:13 +02:00
fix compilation with VerboseRawImage
git-svn-id: trunk@12462 -
This commit is contained in:
parent
6264aac23c
commit
1d41ad50f5
@ -947,12 +947,12 @@ function TRawImage.IsMasked(ATestPixels: Boolean): Boolean;
|
|||||||
begin
|
begin
|
||||||
DebugLn('RawImageMaskIsEmpty EdgeByte y=',dbgs(y),' x=',dbgs(x),
|
DebugLn('RawImageMaskIsEmpty EdgeByte y=',dbgs(y),' x=',dbgs(x),
|
||||||
' Byte=',HexStr(Cardinal(p^),2),
|
' Byte=',HexStr(Cardinal(p^),2),
|
||||||
' UnusedMask=',HexStr(Cardinal(UnusedMask),2),
|
//' UnusedMask=',HexStr(Cardinal(UnusedMask),2),
|
||||||
' OR='+dbgs(p^ or UnusedMask),
|
//' OR='+dbgs(p^ or UnusedMask),
|
||||||
' UnusedBitsAtEnd='+dbgs(UnusedBitsAtEnd),
|
' UnusedBitsAtEnd='+dbgs(UnusedBitsAtEnd),
|
||||||
' UsedBitsPerLine='+dbgs(UsedBitsPerLine),
|
' UsedBitsPerLine='+dbgs(UsedBitsPerLine),
|
||||||
' Width='+dbgs(Width),
|
' Width='+dbgs(Width),
|
||||||
' ARawImage.Description.AlphaBitsPerPixel='+dbgs(Description.AlphaBitsPerPixel));
|
' ARawImage.Description.MaskBitsPerPixel='+dbgs(Description.MaskBitsPerPixel));
|
||||||
end;
|
end;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
@ -2437,7 +2437,7 @@ begin
|
|||||||
DebugLn('TGtkWidgetSet.RawImage_AddMask: A BytesPerLine=',dbgs(Image^.bpl),
|
DebugLn('TGtkWidgetSet.RawImage_AddMask: A BytesPerLine=',dbgs(Image^.bpl),
|
||||||
' theType=',dbgs({$IFDEF Gtk1}Image^.thetype{$ELSE}ord(Image^._type){$ENDIF}),
|
' theType=',dbgs({$IFDEF Gtk1}Image^.thetype{$ELSE}ord(Image^._type){$ENDIF}),
|
||||||
' depth=',dbgs(Image^.depth),' AnImage^.bpp=',dbgs(Image^.bpp));
|
' depth=',dbgs(Image^.depth),' AnImage^.bpp=',dbgs(Image^.bpp));
|
||||||
DebugLn('RawImage=', RawImageDescription_AsString(ARawImage.Description));
|
DebugLn('RawImage=', ARawImage.Description.AsString);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
// See also GetWindowRawImageDescription
|
// See also GetWindowRawImageDescription
|
||||||
|
Loading…
Reference in New Issue
Block a user