aboutsummaryrefslogtreecommitdiff
path: root/tests/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index bfc73ef..5841924 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -25,7 +25,7 @@ static void draw(mgl_window *window, void *userdata) {
mgl_sprite sprite;
mgl_sprite_init(&sprite, u->texture, 100.0f - 10.0f, 0.0f);
- mgl_sprite_set_color(&sprite, 1.0f, 1.0f, 1.0f, 0.5f);
+ mgl_sprite_set_color(&sprite, (mgl_color){1.0f, 1.0f, 1.0f, 0.5f});
mgl_sprite_draw(context, &sprite);
mgl_text text;