ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369, #3844)

This commit is contained in:
ocornut
2021-03-02 14:08:36 +01:00
parent cdf1926f21
commit 23ab4978e4
5 changed files with 23 additions and 14 deletions

View File

@ -1824,6 +1824,7 @@ void ImFontAtlas::ClearTexData()
IM_FREE(TexPixelsRGBA32);
TexPixelsAlpha8 = NULL;
TexPixelsRGBA32 = NULL;
TexPixelsUseColors = false;
}
void ImFontAtlas::ClearFonts()