MCPcopy Create free account
hub / github.com/axmolengine/axmol / nextPOT

Function nextPOT

core/base/Utils.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78} // namespace base64
79
80int nextPOT(int x)
81{
82 --x;
83 x |= (x >> 1);
84 x |= (x >> 2);
85 x |= (x >> 4);
86 x |= (x >> 8);
87 x |= (x >> 16);
88 return ++x;
89}
90
91/*
92 * Capture screen interface

Callers 7

initWithSizeMethod · 0.85
updateWithMipmapsMethod · 0.85
generateMipmapMethod · 0.85
initWithPVRv2DataMethod · 0.85
LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected