mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 23:21:57 +02:00
* FPC_GRAPH_SUPPORTS_TRUECOLOR support in the asm GetPixelX
git-svn-id: trunk@41020 -
This commit is contained in:
parent
c86da93af8
commit
57ffb6fb07
@ -2523,6 +2523,10 @@ const CrtAddress: word = 0;
|
||||
(* End selection of plane *)
|
||||
mov al, ES:[DI]
|
||||
xor ah, ah
|
||||
{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
|
||||
{ 1 byte shorter than 'xor dx, dx'; will always set dx to 0, because sign(ah)=0 }
|
||||
cwd
|
||||
{$endif FPC_GRAPH_SUPPORTS_TRUECOLOR}
|
||||
end;
|
||||
{$endif asmgraph}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user