| 985 | } |
| 986 | |
| 987 | void CTexture::create(unsigned int w, unsigned int h, unsigned int d, unsigned int imgsize, const unsigned char *pixels) |
| 988 | { |
| 989 | CSurface::create(w, h, d, imgsize, pixels); |
| 990 | |
| 991 | m_mipmaps.clear(); |
| 992 | } |
| 993 | |
| 994 | void CTexture::clear() |
| 995 | { |