Tells DevIL that we're writing to a lump, not a file
| 358 | |
| 359 | // Tells DevIL that we're writing to a lump, not a file |
| 360 | void iSetOutputLump(void *Lump, ILuint Size) |
| 361 | { |
| 362 | // In this case, ilDetermineSize is currently trying to determine the |
| 363 | // output buffer size. It already has the write functions it needs. |
| 364 | if (Lump == NULL) |
| 365 | return; |
| 366 | |
| 367 | iputc = iPutcLump; |
| 368 | iseekw = iSeekWLump; |
| 369 | itellw = iTellWLump; |
| 370 | iwrite = iWriteLump; |
| 371 | WriteLump = Lump; |
| 372 | WriteLumpPos = 0; |
| 373 | WriteLumpSize = Size; |
| 374 | } |
| 375 | |
| 376 | |
| 377 | ILuint ILAPIENTRY ilGetLumpPos() |
no outgoing calls
no test coverage detected