MCPcopy Create free account
hub / github.com/cginternals/globjects / nextMultiple

Function nextMultiple

source/globjects/source/pixelformat.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16int nextMultiple(const int n, const int k)
17{
18 return n + (k-n%k)%k;
19}
20
21int byteSize(const GLenum type)
22{

Callers 1

imageSizeInBytesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected