Reads an already-opened raw data file
| 45 | |
| 46 | //! Reads an already-opened raw data file |
| 47 | ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp) |
| 48 | { |
| 49 | ILuint FirstPos; |
| 50 | ILboolean bRet; |
| 51 | |
| 52 | iSetInputFile(File); |
| 53 | FirstPos = itell(); |
| 54 | bRet = iLoadDataInternal(Width, Height, Depth, Bpp); |
| 55 | iseek(FirstPos, IL_SEEK_SET); |
| 56 | |
| 57 | return bRet; |
| 58 | } |
| 59 | |
| 60 | |
| 61 | //! Reads from a raw data memory "lump" |
nothing calls this directly
no test coverage detected