Writes a .pcx to a memory "lump"
| 521 | |
| 522 | //! Writes a .pcx to a memory "lump" |
| 523 | ILuint ilSavePcxL(void *Lump, ILuint Size) |
| 524 | { |
| 525 | ILuint Pos; |
| 526 | iSetOutputLump(Lump, Size); |
| 527 | Pos = itellw(); |
| 528 | if (iSavePcxInternal() == IL_FALSE) |
| 529 | return 0; // Error occurred |
| 530 | return itellw() - Pos; // Return the number of bytes written. |
| 531 | } |
| 532 | |
| 533 | |
| 534 | // Internal function used to save the .pcx. |
no test coverage detected