DrawList: avoid using output references in _SelectFringeTexture() + misc tweaks, comments.

Matching coding style and more consistent for matching with other languages.
This commit is contained in:
ocornut
2026-05-26 21:05:00 +02:00
parent 51da1f5de6
commit 5565bf2c1d
3 changed files with 23 additions and 23 deletions

View File

@@ -10556,7 +10556,8 @@ static void ShowExampleAppCustomRendering(bool* p_open)
x += half_sz + spacing;
if (!(draw_fill && draw_strokes)) //-V560
draw_list->AddLine({ x, y }, { x + sz, y + sz }, col, th, flags); x += sz + spacing; // Diagonal line
draw_list->AddLine({ x, y }, { x + sz, y + sz }, col, th, flags); // Diagonal line
x += sz + spacing;
// Rotating square
for (int n = 0; n < 4; n++)