MCPcopy Create free account
hub / github.com/defold/defold / DestroyImage

Function DestroyImage

engine/texc/src/texc.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 void DestroyImage(Image* image)
53 {
54 free((void*)image->m_Data);
55 free((void*)image->m_Path);
56 delete image;
57 }
58
59 uint32_t GetWidth(Image* image)
60 {

Callers 6

CreateImageFunction · 0.70
DoEncodeFunction · 0.50
TEST_FFunction · 0.50
TearDownMethod · 0.50
TESTFunction · 0.50

Calls 1

freeFunction · 0.85

Tested by 3

TEST_FFunction · 0.40
TearDownMethod · 0.40
TESTFunction · 0.40