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

Function iIsValidSgi

DevIL/src-IL/src/il_sgi.cpp:98–107  ·  view source on GitHub ↗

Internal function to get the header and check it. */

Source from the content-addressed store, hash-verified

96
97/* Internal function to get the header and check it. */
98ILboolean iIsValidSgi()
99{
100 iSgiHeader Head;
101
102 if (!iGetSgiHead(&Head))
103 return IL_FALSE;
104 iseek(-(ILint)sizeof(iSgiHeader), IL_SEEK_CUR); // Go ahead and restore to previous state
105
106 return iCheckSgi(&Head);
107}
108
109/*----------------------------------------------------------------------------*/
110

Callers 2

ilIsValidSgiFFunction · 0.85
ilIsValidSgiLFunction · 0.85

Calls 2

iGetSgiHeadFunction · 0.85
iCheckSgiFunction · 0.85

Tested by

no test coverage detected