From be99b093b45f0e4f2f265b06e035a89dd4a341c9 Mon Sep 17 00:00:00 2001 From: zueuk Date: Sat, 2 Jun 2007 06:50:27 +0000 Subject: [PATCH] fixed postxform bug in non-asm code --- 2.10/Source/XForm.pas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/2.10/Source/XForm.pas b/2.10/Source/XForm.pas index db0e019..6fbd351 100644 --- a/2.10/Source/XForm.pas +++ b/2.10/Source/XForm.pas @@ -388,9 +388,12 @@ end; procedure TXForm.DoPostTransform; {$ifndef _ASM_} +var + tmp: double; begin + tmp := FPx; FPx := p00 * FPx + p10 * FPy + p20; - FPy := p01 * FPx + p11 * FPy + p21; + FPy := p01 * tmp + p11 * FPy + p21; {$else} asm fld qword ptr [eax + FPy]