MCPcopy Create free account
hub / github.com/ddnet/ddnet / Free

Method Free

src/engine/gfx/image.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void CImageInfo::Free()
24{
25 m_Width = 0;
26 m_Height = 0;
27 m_Format = FORMAT_UNDEFINED;
28 free(m_pData);
29 m_pData = nullptr;
30}
31
32size_t CImageInfo::PixelSize(EImageFormat Format)
33{

Callers 4

DilateFileFunction · 0.45
ReplaceImageItemFunction · 0.45
ReplaceImageItemFunction · 0.45
LoadPngMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected