diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/main.c b/tests/main.c index f52e3d4..3ec5738 100644 --- a/tests/main.c +++ b/tests/main.c @@ -61,6 +61,8 @@ static void draw(mgl_window *window, void *userdata) { mgl_text text; mgl_text_init(&text, u->font, str, strlen(str)); + mgl_text_set_max_width(&text, 200.0f); + mgl_text_set_max_rows(&text, 5); mgl_text_draw(context, &text); mgl_text_deinit(&text); |