Ignore:
Timestamp:
Jun 25, 2024, 10:49:43 AM (4 months ago)
Author:
chronos
Message:
  • Modified: Build with Lazarus 3.4.
  • Modified: Removed U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • GraphicTest/FastBitmap.pas

    r572 r573  
    1 unit UFastBitmap;
    2 
    3 {$mode objfpc}{$H+}
     1unit FastBitmap;
    42
    53interface
     
    7371function NoSwapBRComponent(Value: Cardinal): Cardinal; inline;
    7472
     73
    7574implementation
    7675
     
    109108begin
    110109  FreeMem(FPixelsData);
    111   inherited Destroy;
     110  inherited;
    112111end;
    113112
     
    143142function TFastBitmap3.GetPixelAddress(X, Y: Integer): PFastBitmapPixel;
    144143begin
    145   Result := PFastBitmapPixel(FPixelsData) + Y * FSize.X + X;
     144  Result := PFastBitmapPixel(FPixelsData + Y * FSize.X + X);
    146145end;
    147146
     
    201200begin
    202201  FreeMem(FPixelsData);
    203   inherited Destroy;
     202  inherited;
    204203end;
    205204
     
    227226end;
    228227
    229 
    230228end.
    231229
Note: See TracChangeset for help on using the changeset viewer.