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

Function ilLoadFtx

DevIL/src-IL/src/il_ftx.cpp:20–35  ·  view source on GitHub ↗

Reads a FTX file

Source from the content-addressed store, hash-verified

18
19//! Reads a FTX file
20ILboolean ilLoadFtx(ILconst_string FileName)
21{
22 ILHANDLE FtxFile;
23 ILboolean bFtx = IL_FALSE;
24
25 FtxFile = iopenr(FileName);
26 if (FtxFile == NULL) {
27 ilSetError(IL_COULD_NOT_OPEN_FILE);
28 return bFtx;
29 }
30
31 bFtx = ilLoadFtxF(FtxFile);
32 icloser(FtxFile);
33
34 return bFtx;
35}
36
37
38//! Reads an already-opened FTX file

Callers 2

ILAPIENTRY ilLoadFunction · 0.85
ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadFtxFFunction · 0.85

Tested by

no test coverage detected