MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/Cauldron / ClearTexData

Method ClearTexData

libs/imgui/imgui_draw.cpp:1394–1402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394void ImFontAtlas::ClearTexData()
1395{
1396 if (TexPixelsAlpha8)
1397 ImGui::MemFree(TexPixelsAlpha8);
1398 if (TexPixelsRGBA32)
1399 ImGui::MemFree(TexPixelsRGBA32);
1400 TexPixelsAlpha8 = NULL;
1401 TexPixelsRGBA32 = NULL;
1402}
1403
1404void ImFontAtlas::ClearFonts()
1405{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected