MCPcopy Create free account
hub / github.com/DentonW/DevIL / Cleanup

Function Cleanup

DevIL/src-IL/src/il_psp.cpp:688–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686
687
688ILboolean Cleanup()
689{
690 ILuint i;
691
692 if (Channels) {
693 for (i = 0; i < NumChannels; i++) {
694 ifree(Channels[i]);
695 }
696 ifree(Channels);
697 }
698
699 if (Alpha) {
700 ifree(Alpha);
701 }
702
703 Channels = NULL;
704 Alpha = NULL;
705 Pal.Palette = NULL;
706
707 return IL_TRUE;
708}
709
710
711

Callers 1

iLoadPspInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected