Changeset 494 for GraphicTest/Packages/bgrabitmap/paletteformats.inc
- Timestamp:
- Dec 22, 2016, 8:49:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Packages/bgrabitmap/paletteformats.inc
r472 r494 316 316 function ReadInt16: int16; 317 317 begin 318 AStream.Read({%H-}result, sizeof(result)); 318 {$PUSH}{$HINTS OFF} 319 AStream.Read(result, sizeof(result)); 320 {$POP} 319 321 result := BEtoN(result); 320 322 end; 321 323 function ReadInt32: int32; 322 324 begin 323 AStream.Read({%H-}result, sizeof(result)); 325 {$PUSH}{$HINTS OFF} 326 AStream.Read(result, sizeof(result)); 327 {$POP} 324 328 result := BEtoN(result); 325 329 end; … … 332 336 function ReadSingle: single; 333 337 begin 334 AStream.Read({%H-}Result, sizeof(result)); 338 {$PUSH}{$HINTS OFF} 339 AStream.Read(Result, sizeof(result)); 340 {$POP} 335 341 DWord(Result) := BEtoN(DWord(Result)); 336 342 end;
Note:
See TracChangeset
for help on using the changeset viewer.