Commit Graph
2 Commits
Author SHA1 Message Date
cfillionandocornut 5884219867 imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. (#5731) 2022-09-30 16:12:51 +02:00
cfillionandocornut 7d7bf993bb ImDrawList: Fix texture-based anti-aliasing with RGBA textures (#5132, #3245)
When using an Alpha8 font texture, GetTexDataAsRGBA32 converts 0x00 to transparent white.
When using a RGBA32 font texture, ImFontAtlasBuildRenderLinesTexData was writing transparent black.
2022-03-23 16:00:39 +01:00