From 44deccc5bd99f964a85e4f1e4db337a4d1811dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Costa?= Date: Tue, 8 Jul 2025 12:06:02 +0200 Subject: [PATCH] fix(draw_vector): ensure vector_graphic can be used if it's enabled (#8522) --- src/draw/lv_draw_vector.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/draw/lv_draw_vector.c b/src/draw/lv_draw_vector.c index 5ed6477f62..478e2b39e1 100644 --- a/src/draw/lv_draw_vector.c +++ b/src/draw/lv_draw_vector.c @@ -12,6 +12,10 @@ #if LV_USE_VECTOR_GRAPHIC +#if !((LV_USE_DRAW_SW && LV_USE_THORVG) || LV_USE_DRAW_VG_LITE) + #error "LV_USE_VECTOR_GRAPHIC requires either (LV_USE_DRAW_SW and LV_USE_THORVG) or LV_USE_DRAW_VG_LITE" +#endif + #include "../misc/lv_ll.h" #include "../misc/lv_types.h" #include "../stdlib/lv_string.h"