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

Function ilSavePcxF

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

Writes a .pcx to an already-opened file

Source from the content-addressed store, hash-verified

509
510//! Writes a .pcx to an already-opened file
511ILuint ilSavePcxF(ILHANDLE File)
512{
513 ILuint Pos;
514 iSetOutputFile(File);
515 Pos = itellw();
516 if (iSavePcxInternal() == IL_FALSE)
517 return 0; // Error occurred
518 return itellw() - Pos; // Return the number of bytes written.
519}
520
521
522//! Writes a .pcx to a memory "lump"

Callers 1

ilSavePcxFunction · 0.85

Calls 2

iSetOutputFileFunction · 0.85
iSavePcxInternalFunction · 0.85

Tested by

no test coverage detected