Internal function used to check if the HEADER is a valid .hdr header.
| 142 | |
| 143 | // Internal function used to check if the HEADER is a valid .hdr header. |
| 144 | ILboolean 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 |
no test coverage detected