From 9d027b354fe502f54e854e52a3d4c925aade612c Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 24 Oct 2022 16:04:22 +0200 Subject: [PATCH] fix(style): remove the reduntant define of LV_GRADIENT_MAX_STOPS fixes #3752 --- src/misc/lv_style.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/misc/lv_style.h b/src/misc/lv_style.h index edfd83e23..2646a985e 100644 --- a/src/misc/lv_style.h +++ b/src/misc/lv_style.h @@ -70,11 +70,6 @@ LV_EXPORT_CONST_INT(LV_IMG_ZOOM_NONE); #endif // *INDENT-ON* -/** On simple system, don't waste resources on gradients */ -#if !defined(LV_DRAW_COMPLEX) || !defined(LV_GRADIENT_MAX_STOPS) -#define LV_GRADIENT_MAX_STOPS 2 -#endif - #define LV_STYLE_PROP_META_INHERIT 0x8000 #define LV_STYLE_PROP_META_INITIAL 0x4000 #define LV_STYLE_PROP_META_MASK (LV_STYLE_PROP_META_INHERIT | LV_STYLE_PROP_META_INITIAL)