MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY iSeekRFile

Function ILAPIENTRY iSeekRFile

DevIL/src-IL/src/il_files.cpp:604–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602
603
604ILint ILAPIENTRY iSeekRFile(ILint Offset, ILuint Mode)
605{
606 if (Mode == IL_SEEK_SET)
607 Offset += ReadFileStart; // This allows us to use IL_SEEK_SET in the middle of a file.
608 return SeekRProc(FileRead, Offset, Mode);
609}
610
611
612// Returns 1 on error, 0 on success

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected