Browse Source

change tick on win32

Eduardo Bart 10 years ago
parent
commit
5254b8d230
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/framework/win32platform.cpp

+ 2
- 2
src/framework/win32platform.cpp View File

@@ -92,9 +92,9 @@ int Platform::getTicks()
92 92
 {
93 93
     static unsigned long firstTick = 0;
94 94
     if(!firstTick)
95
-        firstTick = GetTickCount64();
95
+        firstTick = GetTickCount();
96 96
     
97
-    return (uint32_t)(GetTickCount64() - firstTick);
97
+    return (uint32_t)(GetTickCount() - firstTick);
98 98
 }
99 99
 
100 100
 void Platform::sleep(unsigned long miliseconds)

Loading…
Cancel
Save