MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FreeAllTextures

Function FreeAllTextures

Descent3/gametexture.cpp:293–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291static int Total_memory_saved = 0;
292
293void FreeAllTextures() {
294 for (int i = 0; i < MAX_TEXTURES; i++) {
295 if (GameTextures[i].used)
296 FreeTexture(i);
297 }
298}
299
300int InitTextures() {
301 // Initalizes the texture system

Callers

nothing calls this directly

Calls 1

FreeTextureFunction · 0.85

Tested by

no test coverage detected