mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user