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 ), : 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 );

View file

@ -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:
@ -498,4 +498,4 @@ protected:
virtual void _setFullscreen(const bool fullScreen) {}; virtual void _setFullscreen(const bool fullScreen) {};
}; };
#endif #endif