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:
@@ -51,6 +51,8 @@ if(NOT LV_CONF_BUILD_DISABLE_THORVG_INTERNAL)
|
|||||||
target_link_libraries(lvgl_thorvg PUBLIC lvgl)
|
target_link_libraries(lvgl_thorvg PUBLIC lvgl)
|
||||||
endif()
|
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
|
# Build LVGL example library
|
||||||
if(NOT LV_CONF_BUILD_DISABLE_EXAMPLES)
|
if(NOT LV_CONF_BUILD_DISABLE_EXAMPLES)
|
||||||
add_library(lvgl_examples ${EXAMPLE_SOURCES})
|
add_library(lvgl_examples ${EXAMPLE_SOURCES})
|
||||||
|
|||||||
@@ -1739,6 +1739,9 @@ Empty_sequence_handler:
|
|||||||
vg_lite_blend_t blend,
|
vg_lite_blend_t blend,
|
||||||
vg_lite_filter_t filter)
|
vg_lite_filter_t filter)
|
||||||
{
|
{
|
||||||
|
LV_UNUSED(paint_color);
|
||||||
|
LV_UNUSED(filter);
|
||||||
|
|
||||||
auto ctx = vg_lite_ctx::get_instance();
|
auto ctx = vg_lite_ctx::get_instance();
|
||||||
TVG_CHECK_RETURN_VG_ERROR(canvas_set_target(ctx, target));
|
TVG_CHECK_RETURN_VG_ERROR(canvas_set_target(ctx, target));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user