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

Function ilLoadDcx

DevIL/src-IL/src/il_dcx.cpp:131–146  ·  view source on GitHub ↗

Reads a .dcx file

Source from the content-addressed store, hash-verified

129
130//! Reads a .dcx file
131ILboolean ilLoadDcx(ILconst_string FileName)
132{
133 ILHANDLE DcxFile;
134 ILboolean bDcx = IL_FALSE;
135
136 DcxFile = iopenr(FileName);
137 if (DcxFile == NULL) {
138 ilSetError(IL_COULD_NOT_OPEN_FILE);
139 return bDcx;
140 }
141
142 bDcx = ilLoadDcxF(DcxFile);
143 icloser(DcxFile);
144
145 return bDcx;
146}
147
148
149//! Reads an already-opened .dcx file

Callers 1

ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadDcxFFunction · 0.85

Tested by

no test coverage detected