MCPcopy Create free account
hub / github.com/DentonW/DevIL / ilLoadTextureL

Function ilLoadTextureL

DevIL/src-IL/src/il_texture.cpp:56–63  ·  view source on GitHub ↗

Reads from a memory "lump" that contains a TEXTURE

Source from the content-addressed store, hash-verified

54
55//! Reads from a memory "lump" that contains a TEXTURE
56ILboolean 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

Callers 1

ILAPIENTRY ilLoadLFunction · 0.85

Calls 2

iSetInputLumpFunction · 0.85
ilLoadDdsLFunction · 0.85

Tested by

no test coverage detected