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

Function CloseLightmapInfos

Descent3/lightmap_info.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36static uint16_t *Free_lmi_list = NULL;
37
38void CloseLightmapInfos() {
39 bool final_lightmap = true;
40
41 if (LightmapInfo)
42 mem_free(LightmapInfo);
43
44 if (Free_lmi_list)
45 mem_free(Free_lmi_list);
46
47 LightmapInfo = NULL;
48 Free_lmi_list = NULL;
49}
50
51// Sets all the lightmaps to unused
52void InitLightmapInfo(int nummaps) {

Callers 1

OnTestTest1Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected