MCPcopy Index your code
hub / github.com/assaultcube/AC / loopi

Function loopi

source/src/texture.cpp:814–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812 glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &val);
813 maxtmus = max(1, min(MAXTMUS, int(val)));
814 loopi(maxtmus)
815 {
816 glActiveTexture_(GL_TEXTURE0_ARB+i);
817 resettmu(i);
818 }
819 glActiveTexture_(GL_TEXTURE0_ARB);
820 }
821}

Callers 12

checkgrayscaleFunction · 0.70
fixclFunction · 0.70
texdecalFunction · 0.70
loadskymapFunction · 0.70
committmufuncFunction · 0.70
cleanuptmusFunction · 0.70
textureslotusagegeometryFunction · 0.70
textureslotusagelistFunction · 0.70
deletetextureslotFunction · 0.70
texconfig_pasteFunction · 0.70
sorttextureslotsFunction · 0.70
resettexturelistsFunction · 0.70

Calls 1

resettmuFunction · 0.85

Tested by

no test coverage detected