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

Function iCheckHdr

DevIL/src-IL/src/il_hdr.cpp:144–149  ·  view source on GitHub ↗

Internal function used to check if the HEADER is a valid .hdr header.

Source from the content-addressed store, hash-verified

142
143// Internal function used to check if the HEADER is a valid .hdr header.
144ILboolean iCheckHdr(HDRHEADER *Header)
145{
146 return
147 strnicmp(Header->Signature, "#?RADIANCE", 10) == 0
148 || strnicmp(Header->Signature, "#?RGBE", 6) == 0;
149}
150
151
152//! Reads a .hdr file

Callers 1

iLoadHdrInternalFunction · 0.85

Calls 1

strnicmpFunction · 0.85

Tested by

no test coverage detected