mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
more VS2012 L4 warning fixes
This commit is contained in:
parent
502e346eb6
commit
2844ab6912
20 changed files with 30 additions and 8 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