Răsfoiți Sursa

*** empty log message ***

Mike Goslin 24 ani în urmă
părinte
comite
b12f4aed3f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      panda/src/dxgsg/dxGraphicsStateGuardian.cxx

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

@@ -797,7 +797,7 @@ render_frame(const AllAttributesWrapper &initial_state) {
       static DWORD LastTickCount=0;
       static DWORD LastTickCount=0;
       DWORD CurTickCount=GetTickCount();
       DWORD CurTickCount=GetTickCount();
 
 
-      if (CurTickCount-LastTickCount > TICKSPERINFO) {
+      if (CurTickCount-LastTickCount > TICKS_PER_GETTEXINFO) {
           LastTickCount=CurTickCount;
           LastTickCount=CurTickCount;
           report_texmgr_stats();
           report_texmgr_stats();
       }
       }
@@ -811,7 +811,7 @@ render_frame(const AllAttributesWrapper &initial_state) {
         static DWORD LastTickCount=0;
         static DWORD LastTickCount=0;
         DWORD CurTickCount=GetTickCount();
         DWORD CurTickCount=GetTickCount();
 
 
-        if (CurTickCount-LastTickCount > TICKSPERINFO) {
+        if (CurTickCount-LastTickCount > TICKS_PER_GETTEXINFO) {
             LastTickCount=CurTickCount;
             LastTickCount=CurTickCount;
             HRESULT hr;
             HRESULT hr;