AROS: 32/64-bit compatibility update for unit agraphics

Make TRastPort compliant to both ABI's by removing redundant ifdef.

Add information about (new) fields.
This commit is contained in:
magorium 2022-05-06 21:48:18 +02:00 committed by Charlie Balogh
parent 3439b220a7
commit 1d1a68761e

View File

@ -629,16 +629,12 @@ type
TxBaseline: Word; // text baseline
TxSpacing: SmallInt; // text spacing (per character)
RP_User: APTR;
{$ifdef AROS_ABIv0}
longreserved: array[0..1] of IPTR;
wordreserved: array[0..6] of Word; // used to be a node
reserved: array[0..7] of Byte; // for future use
{$endif}
{$ifdef AROS_ABIv1}
// 30 bytes (on 32-bit architectures) of private space follow.
// On 64-bit architectures this space is doubled.
// Do not touch.
RP_Extra: APTR;
longreserved: array[0..5] of IPTR;
reserved: array[0..1] of Byte;
{$endif}
end;
const