////////////////////////////////////////////////////////////////////////// free image memory
| 652 | /////////////////////////////////////////////////////////////////////////////// |
| 653 | // free image memory |
| 654 | void CDDSImage::clear() |
| 655 | { |
| 656 | m_components = 0; |
| 657 | m_format = TextureUnknown; |
| 658 | m_type = TextureNone; |
| 659 | m_valid = false; |
| 660 | |
| 661 | m_images.clear(); |
| 662 | } |
| 663 | |
| 664 | /////////////////////////////////////////////////////////////////////////////// |
| 665 | // clamps input size to [1-size] |
no test coverage detected