aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/richtext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgui/richtext.h')
-rw-r--r--include/mgui/richtext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgui/richtext.h b/include/mgui/richtext.h
index f3b07a5..98b46c6 100644
--- a/include/mgui/richtext.h
+++ b/include/mgui/richtext.h
@@ -21,7 +21,8 @@ typedef struct {
mgl_vec2i position;
mgl_vec2i render_size;
int width;
- mgui_richtext_vertex_data vertex_data[2];
+ mgui_richtext_vertex_data vertex_data[2]; /* size should match NUM_VERTEX_DATA */
+ /* TODO: Turn bools into flags */
bool dirty;
bool vertices_dirty;
} mgui_richtext;