1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Merge branch 'master' into docking

This commit is contained in:
ocornut 2025-06-11 20:53:22 +02:00
commit 7d70c0ff9f
4 changed files with 28 additions and 27 deletions

View file

@ -2880,7 +2880,7 @@ void ImFontAtlasTextureBlockPostProcessMultiply(ImFontAtlasPostProcessData* data
}
}
}
else if (data->Format == ImTextureFormat_RGBA32)
else if (data->Format == ImTextureFormat_RGBA32) //-V547
{
for (int ny = data->Height; ny > 0; ny--, pixels += pitch)
{
@ -5637,8 +5637,8 @@ begin:
}
const ImFontGlyph* glyph = baked->FindGlyph((ImWchar)c);
if (glyph == NULL)
continue;
//if (glyph == NULL)
// continue;
float char_width = glyph->AdvanceX * scale;
if (glyph->Visible)