fixed postxform bug in non-asm code
This commit is contained in:
parent
5c8e54621a
commit
be99b093b4
@ -388,9 +388,12 @@ end;
|
|||||||
|
|
||||||
procedure TXForm.DoPostTransform;
|
procedure TXForm.DoPostTransform;
|
||||||
{$ifndef _ASM_}
|
{$ifndef _ASM_}
|
||||||
|
var
|
||||||
|
tmp: double;
|
||||||
begin
|
begin
|
||||||
|
tmp := FPx;
|
||||||
FPx := p00 * FPx + p10 * FPy + p20;
|
FPx := p00 * FPx + p10 * FPy + p20;
|
||||||
FPy := p01 * FPx + p11 * FPy + p21;
|
FPy := p01 * tmp + p11 * FPy + p21;
|
||||||
{$else}
|
{$else}
|
||||||
asm
|
asm
|
||||||
fld qword ptr [eax + FPy]
|
fld qword ptr [eax + FPy]
|
||||||
|
Loading…
Reference in New Issue
Block a user