* use 'cwd' instead of 'xor dx, dx' in the asm version GetPixel320

git-svn-id: trunk@40969 -
This commit is contained in:
nickysn 2019-01-21 15:30:58 +00:00
parent 57c931cb4c
commit 300e584936

View File

@ -2303,7 +2303,8 @@ End;
seges lodsb
xor ah, ah
{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
xor dx, dx
{ 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}