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

Function ILAPIENTRY iSizeWrite

DevIL/src-IL/src/il_size.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66ILint ILAPIENTRY iSizeWrite(const void *Buffer, ILuint Size, ILuint Number)
67{
68 CurPos += Size * Number;
69 if (CurPos > MaxPos)
70 MaxPos = CurPos;
71 return Number;
72}
73
74
75//@TODO: Do computations for uncompressed formats without going through the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected