mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore(vg_lite_tvg): fix build warnings (#5984)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
parent
29662d1c35
commit
c9922d5701
@ -51,6 +51,8 @@ if(NOT LV_CONF_BUILD_DISABLE_THORVG_INTERNAL)
|
||||
target_link_libraries(lvgl_thorvg PUBLIC lvgl)
|
||||
endif()
|
||||
|
||||
set_source_files_properties(${LVGL_ROOT_DIR}/src/others/vg_lite_tvg/vg_lite_tvg.cpp PROPERTIES COMPILE_FLAGS -Wunused-parameter)
|
||||
|
||||
# Build LVGL example library
|
||||
if(NOT LV_CONF_BUILD_DISABLE_EXAMPLES)
|
||||
add_library(lvgl_examples ${EXAMPLE_SOURCES})
|
||||
|
@ -1739,6 +1739,9 @@ Empty_sequence_handler:
|
||||
vg_lite_blend_t blend,
|
||||
vg_lite_filter_t filter)
|
||||
{
|
||||
LV_UNUSED(paint_color);
|
||||
LV_UNUSED(filter);
|
||||
|
||||
auto ctx = vg_lite_ctx::get_instance();
|
||||
TVG_CHECK_RETURN_VG_ERROR(canvas_set_target(ctx, target));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user