Reads from a memory "lump" that contains a TEXTURE
| 54 | |
| 55 | //! Reads from a memory "lump" that contains a TEXTURE |
| 56 | ILboolean ilLoadTextureL(const void *Lump, ILuint Size) |
| 57 | { |
| 58 | iSetInputLump(Lump, Size); |
| 59 | // From http://forums.totalwar.org/vb/showthread.php?t=70886, all that needs to be done |
| 60 | // is to strip out the first 48 bytes, and then it is DDS data. |
| 61 | iseek(48, IL_SEEK_CUR); |
| 62 | return ilLoadDdsL(Lump, Size); |
| 63 | } |
| 64 | |
| 65 | #endif//IL_NO_TEXTURE |
| 66 |
no test coverage detected