mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-21 06:41:09 +00:00
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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user