Browse Source

fix bad asm stmt

cxgeorge 24 years ago
parent
commit
3afe0b9d39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/dxgsg/dxGraphicsStateGuardian.cxx

+ 1 - 1
panda/src/dxgsg/dxGraphicsStateGuardian.cxx

@@ -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