mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 11:07:34 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user