浏览代码

*** empty log message ***

Mike Goslin 24 年之前
父节点
当前提交
b12f4aed3f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;
       DWORD CurTickCount=GetTickCount();
 
-      if (CurTickCount-LastTickCount > TICKSPERINFO) {
+      if (CurTickCount-LastTickCount > TICKS_PER_GETTEXINFO) {
           LastTickCount=CurTickCount;
           report_texmgr_stats();
       }
@@ -811,7 +811,7 @@ render_frame(const AllAttributesWrapper &initial_state) {
         static DWORD LastTickCount=0;
         DWORD CurTickCount=GetTickCount();
 
-        if (CurTickCount-LastTickCount > TICKSPERINFO) {
+        if (CurTickCount-LastTickCount > TICKS_PER_GETTEXINFO) {
             LastTickCount=CurTickCount;
             HRESULT hr;