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