Ignore:
Timestamp:
Dec 22, 2016, 8:49:19 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Updated BGRABitmap package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/paletteformats.inc

    r472 r494  
    316316  function ReadInt16: int16;
    317317  begin
    318     AStream.Read({%H-}result, sizeof(result));
     318    {$PUSH}{$HINTS OFF}
     319    AStream.Read(result, sizeof(result));
     320    {$POP}
    319321    result := BEtoN(result);
    320322  end;
    321323  function ReadInt32: int32;
    322324  begin
    323     AStream.Read({%H-}result, sizeof(result));
     325    {$PUSH}{$HINTS OFF}
     326    AStream.Read(result, sizeof(result));
     327    {$POP}
    324328    result := BEtoN(result);
    325329  end;
     
    332336  function ReadSingle: single;
    333337  begin
    334     AStream.Read({%H-}Result, sizeof(result));
     338    {$PUSH}{$HINTS OFF}
     339    AStream.Read(Result, sizeof(result));
     340    {$POP}
    335341    DWord(Result) := BEtoN(DWord(Result));
    336342  end;
Note: See TracChangeset for help on using the changeset viewer.