More uninitialized variables

This commit is contained in:
Ben Payne 2014-11-07 10:28:01 -05:00
parent 2fc1ac4816
commit d4b4320f45
2 changed files with 8 additions and 7 deletions

View file

@ -35,7 +35,8 @@ SFXALDevice::SFXALDevice( SFXProvider *provider,
: Parent( name, provider, useHardware, maxBuffers ),
mOpenAL( openal ),
mDevice( NULL ),
mContext( NULL )
mContext( NULL ),
mRolloffFactor( 1.0f )
{
mMaxBuffers = getMax( maxBuffers, 8 );

View file

@ -98,17 +98,17 @@ protected:
{
mIsBackground = false; // This could be toggled to true to prefer performance.
mMinimumSize.set(0,0);
mLockedSize.set(0,0);
mResizeLocked = false;
mLockedSize.set(0,0);
mResizeLocked = false;
mEnableKeyboardTranslation = false;
mEnableAccelerators = true;
mCursorController = NULL;
// This controller maps window input (Mouse/Keyboard) to a generic input consumer
mWindowInputGenerator = new WindowInputGenerator( this );
mSuppressReset = false;
mOffscreenRender = false;
mDisplayWindow = false;
// This controller maps window input (Mouse/Keyboard) to a generic input consumer
mWindowInputGenerator = new WindowInputGenerator( this );
}
public:
@ -498,4 +498,4 @@ protected:
virtual void _setFullscreen(const bool fullScreen) {};
};
#endif
#endif