fix bad asm stmt

This commit is contained in:
cxgeorge 2001-11-16 02:53:01 +00:00
parent c424a33b72
commit 3afe0b9d39

View File

@ -158,7 +158,7 @@ Colorf_to_D3DCOLOR(const Colorf &cColorf) {
push ecx
mov ecx, cColorf
fild tempcolorval
fld [ecx]
fld DWORD PTR [ecx]
fmul ST(0),ST(1)
fistp tempcolorval ; no way to store directly to int register
mov eax, tempcolorval