| 783 | } |
| 784 | |
| 785 | void DDSFile::SurfaceData::writeNextMip(DDSFile *dds, Stream &s, U32 height, U32 width, U32 mipLevel) |
| 786 | { |
| 787 | U32 size = dds->getSurfaceSize(height, width, mipLevel); |
| 788 | if(!s.write(size, mMips[mipLevel])) |
| 789 | Con::errorf("DDSFile::SurfaceData::writeNextMip - failed to write mip!"); |
| 790 | } |
| 791 | |
| 792 | //------------------------------------------------------------------------------ |
| 793 |
no test coverage detected