From a1d84e579244820cf6438a06d3c9114f3af4b15e Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 1 Nov 2019 20:32:16 +0100 Subject: [PATCH] img rotate further optimiziation --- src/lv_draw/lv_draw_img.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lv_draw/lv_draw_img.c b/src/lv_draw/lv_draw_img.c index 4457ecc9f..e0599b403 100644 --- a/src/lv_draw/lv_draw_img.c +++ b/src/lv_draw/lv_draw_img.c @@ -416,6 +416,7 @@ bool lv_img_get_px_rotated(lv_img_rotate_dsc_t * dsc, lv_coord_t x, lv_coord_t y } else { xn = xs_int; xr = 0xFF; + c_dest_xn.full = c_dest_int.full; } int yn; /*y neightboor*/ @@ -434,6 +435,7 @@ bool lv_img_get_px_rotated(lv_img_rotate_dsc_t * dsc, lv_coord_t x, lv_coord_t y } else { yn = ys_int; yr = 0xFF; + c_dest_yn.full = c_dest_int.full; }