Changeset 573 for GraphicTest/FastBitmap.pas
- Timestamp:
- Jun 25, 2024, 10:49:43 AM (4 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/FastBitmap.pas
r572 r573 1 unit UFastBitmap; 2 3 {$mode objfpc}{$H+} 1 unit FastBitmap; 4 2 5 3 interface … … 73 71 function NoSwapBRComponent(Value: Cardinal): Cardinal; inline; 74 72 73 75 74 implementation 76 75 … … 109 108 begin 110 109 FreeMem(FPixelsData); 111 inherited Destroy;110 inherited; 112 111 end; 113 112 … … 143 142 function TFastBitmap3.GetPixelAddress(X, Y: Integer): PFastBitmapPixel; 144 143 begin 145 Result := PFastBitmapPixel(FPixelsData ) + Y * FSize.X + X;144 Result := PFastBitmapPixel(FPixelsData + Y * FSize.X + X); 146 145 end; 147 146 … … 201 200 begin 202 201 FreeMem(FPixelsData); 203 inherited Destroy;202 inherited; 204 203 end; 205 204 … … 227 226 end; 228 227 229 230 228 end. 231 229
Note:
See TracChangeset
for help on using the changeset viewer.