Tells DevIL that we're reading from a lump, not a file
| 316 | |
| 317 | // Tells DevIL that we're reading from a lump, not a file |
| 318 | void iSetInputLump(const void *Lump, ILuint Size) |
| 319 | { |
| 320 | ieof = iEofLump; |
| 321 | igetc = iGetcLump; |
| 322 | iread = iReadLump; |
| 323 | iseek = iSeekRLump; |
| 324 | itell = iTellRLump; |
| 325 | ReadLump = Lump; |
| 326 | ReadLumpPos = 0; |
| 327 | ReadLumpSize = Size; |
| 328 | } |
| 329 | |
| 330 | |
| 331 | // Tells DevIL that we're writing to a file, not a lump |
no outgoing calls
no test coverage detected