mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
uninitialized variables-platform
(cherry picked from commit 36fd324de7a29a8f4bb84b7622ae925acb1d3760)
This commit is contained in:
parent
bfcc83638d
commit
bd8a72005e
7 changed files with 17 additions and 6 deletions
|
|
@ -49,11 +49,12 @@ public:
|
|||
mUsingPerfCounter = QueryPerformanceFrequency((LARGE_INTEGER *) &mFrequency);
|
||||
if(mUsingPerfCounter)
|
||||
mUsingPerfCounter = QueryPerformanceCounter((LARGE_INTEGER *) &mPerfCountCurrent);
|
||||
if(!mUsingPerfCounter)
|
||||
{
|
||||
mPerfCountNext = 0.0;
|
||||
if (!mUsingPerfCounter)
|
||||
mTickCountCurrent = GetTickCount();
|
||||
mTickCountNext = 0;
|
||||
}
|
||||
else
|
||||
mTickCountCurrent = 0;
|
||||
mTickCountNext = 0;
|
||||
}
|
||||
|
||||
const S32 getElapsedMs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue