Don't self-assign

This commit is contained in:
Ben Payne 2015-02-18 20:43:34 -05:00
parent b721288d6b
commit be0b9728e5

View file

@ -607,7 +607,7 @@ bool DDSFile::read(Stream &s, U32 dropMipCount)
else if ( mFlags.test( PitchSizeFlag ) )
mPitchOrLinearSize = getSurfacePitch( dropMipCount );
else
mPitchOrLinearSize = mPitchOrLinearSize; // Do nothing?
; // Do nothing?
// Now fix up the rest of the
mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );