mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
More uninitialized variables
This commit is contained in:
parent
2fc1ac4816
commit
d4b4320f45
2 changed files with 8 additions and 7 deletions
|
|
@ -35,7 +35,8 @@ SFXALDevice::SFXALDevice( SFXProvider *provider,
|
||||||
: Parent( name, provider, useHardware, maxBuffers ),
|
: Parent( name, provider, useHardware, maxBuffers ),
|
||||||
mOpenAL( openal ),
|
mOpenAL( openal ),
|
||||||
mDevice( NULL ),
|
mDevice( NULL ),
|
||||||
mContext( NULL )
|
mContext( NULL ),
|
||||||
|
mRolloffFactor( 1.0f )
|
||||||
{
|
{
|
||||||
mMaxBuffers = getMax( maxBuffers, 8 );
|
mMaxBuffers = getMax( maxBuffers, 8 );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,17 +98,17 @@ protected:
|
||||||
{
|
{
|
||||||
mIsBackground = false; // This could be toggled to true to prefer performance.
|
mIsBackground = false; // This could be toggled to true to prefer performance.
|
||||||
mMinimumSize.set(0,0);
|
mMinimumSize.set(0,0);
|
||||||
mLockedSize.set(0,0);
|
mLockedSize.set(0,0);
|
||||||
mResizeLocked = false;
|
mResizeLocked = false;
|
||||||
mEnableKeyboardTranslation = false;
|
mEnableKeyboardTranslation = false;
|
||||||
mEnableAccelerators = true;
|
mEnableAccelerators = true;
|
||||||
mCursorController = NULL;
|
mCursorController = NULL;
|
||||||
// This controller maps window input (Mouse/Keyboard) to a generic input consumer
|
|
||||||
mWindowInputGenerator = new WindowInputGenerator( this );
|
|
||||||
mSuppressReset = false;
|
mSuppressReset = false;
|
||||||
|
|
||||||
mOffscreenRender = false;
|
mOffscreenRender = false;
|
||||||
mDisplayWindow = false;
|
mDisplayWindow = false;
|
||||||
|
|
||||||
|
// This controller maps window input (Mouse/Keyboard) to a generic input consumer
|
||||||
|
mWindowInputGenerator = new WindowInputGenerator( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue