Comments
diff --git a/imgui_draw.cpp b/imgui_draw.cpp
index e1a3ea8..69dbc45 100644
--- a/imgui_draw.cpp
+++ b/imgui_draw.cpp
@@ -1372,6 +1372,7 @@
ImVector<stbrp_rect>& rects = *(ImVector<stbrp_rect>*)p_rects;
if (pass == 0)
{
+ // Request rectangles
stbrp_rect r;
memset(&r, 0, sizeof(r));
r.w = (TEX_DATA_W*2)+1;
@@ -1380,7 +1381,7 @@
}
else if (pass == 1)
{
- // Copy pixels
+ // Render/copy pixels
const stbrp_rect& r = rects[0];
for (int y = 0, n = 0; y < TEX_DATA_H; y++)
for (int x = 0; x < TEX_DATA_W; x++, n++)