From 261796068e7ef19214d7956759e09967b6a61486 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Mon, 22 Dec 2025 22:35:59 +0100 Subject: [PATCH] Fix for simulator SDL settings (#433) --- CMakeLists.txt | 1 - lv_conf.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ea78f33..36f271ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,7 +106,6 @@ if (NOT DEFINED ENV{ESP_IDF_VERSION}) # LVGL set(CONFIG_LV_BUILD_DEMOS OFF CACHE BOOL "" FORCE) set(CONFIG_LV_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) - set(CONFIG_LV_USE_DRAW_SDL ON CACHE BOOL "" FORCE) add_subdirectory(Libraries/lvgl) # Added as idf component for ESP and as library for other targets target_link_libraries(lvgl PRIVATE SDL2-static) diff --git a/lv_conf.h b/lv_conf.h index c6b7b0fc..1547866f 100644 --- a/lv_conf.h +++ b/lv_conf.h @@ -167,7 +167,7 @@ #define LV_USE_DRAW_DAVE2D 0 /* Draw using cached SDL textures*/ -#define LV_USE_DRAW_SDL 1 +#define LV_USE_DRAW_SDL 0 /* Use VG-Lite GPU. */ #define LV_USE_DRAW_VG_LITE 0