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

Function ILAPIENTRY iGetcFile

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

Source from the content-addressed store, hash-verified

431
432
433ILint ILAPIENTRY iGetcFile(void)
434{
435 if (!UseCache) {
436 return GetcProc(FileRead);
437 }
438 if (CachePos >= CacheSize) {
439 iPreCache(CacheSize);
440 }
441
442 CacheBytesRead++;
443 return Cache[CachePos++];
444}
445
446
447ILint ILAPIENTRY iGetcLump(void)

Callers

nothing calls this directly

Calls 1

iPreCacheFunction · 0.85

Tested by

no test coverage detected