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

Function ilSavePcxL

DevIL/src-IL/src/il_pcx.cpp:523–531  ·  view source on GitHub ↗

Writes a .pcx to a memory "lump"

Source from the content-addressed store, hash-verified

521
522//! Writes a .pcx to a memory "lump"
523ILuint 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.

Callers 1

ilDetermineSizeFunction · 0.85

Calls 2

iSetOutputLumpFunction · 0.85
iSavePcxInternalFunction · 0.85

Tested by

no test coverage detected