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

Function ilLoadCut

DevIL/src-IL/src/il_cut.cpp:37–52  ·  view source on GitHub ↗

Reads a .cut file

Source from the content-addressed store, hash-verified

35
36//! Reads a .cut file
37ILboolean ilLoadCut(ILconst_string FileName)
38{
39 ILHANDLE CutFile;
40 ILboolean bCut = IL_FALSE;
41
42 CutFile = iopenr(FileName);
43 if (CutFile == NULL) {
44 ilSetError(IL_COULD_NOT_OPEN_FILE);
45 return bCut;
46 }
47
48 bCut = ilLoadCutF(CutFile);
49 icloser(CutFile);
50
51 return bCut;
52}
53
54
55//! Reads an already-opened .cut file

Callers 2

ILAPIENTRY ilLoadFunction · 0.85
ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadCutFFunction · 0.85

Tested by

no test coverage detected