fix(draw): fix transformation accuracy

fixes #3777
This commit is contained in:
Gabor Kiss-Vamosi
2022-11-02 17:26:10 +01:00
parent 7d20d4ca7a
commit 6f22c5e02e
+2 -2
View File
@@ -127,8 +127,8 @@ void lv_draw_sw_transform(lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area,
ys_step_256 = (256 * ys_diff) / (dest_w - 1);
}
int32_t xs_ups = xs1_ups;
int32_t ys_ups = ys1_ups;
int32_t xs_ups = xs1_ups + 0x80;
int32_t ys_ups = ys1_ups + 0x80;
if(draw_dsc->antialias == 0) {
switch(cf) {