feat(opengl): throw error if both draw nanovg and opengles draw units are enabled (#9719)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
André Costa
2026-02-13 00:59:29 +01:00
committed by GitHub
parent d9f7a29b62
commit 01648dfadb
+5
View File
@@ -9,6 +9,11 @@
#include "lv_draw_opengles.h"
#if LV_USE_DRAW_OPENGLES
#if LV_USE_DRAW_NANOVG
#error "LV_USE_DRAW_NANOVG and LV_USE_DRAW_OPENGLES cannot be enabled at the same time. Disable one of them in lv_conf.h or Kconfig."
#endif
#include "../lv_draw_private.h"
#include "../../misc/cache/lv_cache_entry_private.h"
#include "../../drivers/opengles/lv_opengles_debug.h"