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

Function ilLoadUtx

DevIL/src-IL/src/il_utx.cpp:21–36  ·  view source on GitHub ↗

Reads a UTX file

Source from the content-addressed store, hash-verified

19
20//! Reads a UTX file
21ILboolean ilLoadUtx(ILconst_string FileName)
22{
23 ILHANDLE UtxFile;
24 ILboolean bUtx = IL_FALSE;
25
26 UtxFile = iopenr(FileName);
27 if (UtxFile == NULL) {
28 ilSetError(IL_COULD_NOT_OPEN_FILE);
29 return bUtx;
30 }
31
32 bUtx = ilLoadUtxF(UtxFile);
33 icloser(UtxFile);
34
35 return bUtx;
36}
37
38
39//! Reads an already-opened UTX file

Callers

nothing calls this directly

Calls 2

ilSetErrorFunction · 0.85
ilLoadUtxFFunction · 0.70

Tested by

no test coverage detected