mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix bad asm stmt
This commit is contained in:
parent
c424a33b72
commit
3afe0b9d39
@ -158,7 +158,7 @@ Colorf_to_D3DCOLOR(const Colorf &cColorf) {
|
|||||||
push ecx
|
push ecx
|
||||||
mov ecx, cColorf
|
mov ecx, cColorf
|
||||||
fild tempcolorval
|
fild tempcolorval
|
||||||
fld [ecx]
|
fld DWORD PTR [ecx]
|
||||||
fmul ST(0),ST(1)
|
fmul ST(0),ST(1)
|
||||||
fistp tempcolorval ; no way to store directly to int register
|
fistp tempcolorval ; no way to store directly to int register
|
||||||
mov eax, tempcolorval
|
mov eax, tempcolorval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user