Review fixes

This commit is contained in:
Ben Payne 2015-02-23 14:57:37 -05:00
parent 3205fea936
commit f67a0353d0
3 changed files with 5 additions and 7 deletions

View file

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