mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Fix uninitialized member vars
This commit is contained in:
parent
50238fb2ac
commit
98e79f3aec
2 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ F32 ReflectionManager::smRefractTexScale = 0.5f;
|
||||||
|
|
||||||
ReflectionManager::ReflectionManager()
|
ReflectionManager::ReflectionManager()
|
||||||
: mUpdateRefract( true ),
|
: mUpdateRefract( true ),
|
||||||
mReflectFormat( GFXFormatR8G8B8A8 )
|
mReflectFormat( GFXFormatR8G8B8A8 ),
|
||||||
|
mLastUpdateMs( 0 )
|
||||||
{
|
{
|
||||||
mTimer = PlatformTimer::create();
|
mTimer = PlatformTimer::create();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,8 @@ ReflectorBase::ReflectorBase()
|
||||||
mObject = NULL;
|
mObject = NULL;
|
||||||
mOcclusionQuery = GFX->createOcclusionQuery();
|
mOcclusionQuery = GFX->createOcclusionQuery();
|
||||||
mQueryPending = false;
|
mQueryPending = false;
|
||||||
|
score = 0.0f;
|
||||||
|
lastUpdateMs = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReflectorBase::~ReflectorBase()
|
ReflectorBase::~ReflectorBase()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue