mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fix uninitialized member vars
This commit is contained in:
parent
50238fb2ac
commit
98e79f3aec
|
|
@ -83,7 +83,8 @@ F32 ReflectionManager::smRefractTexScale = 0.5f;
|
|||
|
||||
ReflectionManager::ReflectionManager()
|
||||
: mUpdateRefract( true ),
|
||||
mReflectFormat( GFXFormatR8G8B8A8 )
|
||||
mReflectFormat( GFXFormatR8G8B8A8 ),
|
||||
mLastUpdateMs( 0 )
|
||||
{
|
||||
mTimer = PlatformTimer::create();
|
||||
|
||||
|
|
|
|||
|
|
@ -179,6 +179,8 @@ ReflectorBase::ReflectorBase()
|
|||
mObject = NULL;
|
||||
mOcclusionQuery = GFX->createOcclusionQuery();
|
||||
mQueryPending = false;
|
||||
score = 0.0f;
|
||||
lastUpdateMs = 0;
|
||||
}
|
||||
|
||||
ReflectorBase::~ReflectorBase()
|
||||
|
|
|
|||
Loading…
Reference in a new issue