mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Merge pull request #581 from tdev/vs2012_fixes
Visual Studio 2012 32Bit Level 4 Warning fixes
This commit is contained in:
commit
7239c791f2
13 changed files with 24 additions and 34 deletions
|
|
@ -189,11 +189,8 @@ void ReflectionManager::update( F32 timeSlice,
|
|||
break;
|
||||
}
|
||||
|
||||
U32 totalElapsed = mTimer->getElapsedMs();
|
||||
|
||||
// Set metric/debug related script variables...
|
||||
|
||||
U32 numEnabled = mReflectors.size();
|
||||
U32 numVisible = 0;
|
||||
U32 numOccluded = 0;
|
||||
|
||||
|
|
@ -208,6 +205,8 @@ void ReflectionManager::update( F32 timeSlice,
|
|||
}
|
||||
|
||||
#ifdef TORQUE_GATHER_METRICS
|
||||
U32 numEnabled = mReflectors.size();
|
||||
U32 totalElapsed = mTimer->getElapsedMs();
|
||||
const GFXTextureProfileStats &stats = ReflectRenderTargetProfile.getStats();
|
||||
|
||||
F32 mb = ( stats.activeBytes / 1024.0f ) / 1024.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue