mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Merge pull request #1156 from vanwinkeljan/fix_disp_lv_inv_area
Pass disp->driver to rounder_cb in lv_inv_area
This commit is contained in:
commit
639409b881
@ -115,7 +115,7 @@ void lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p)
|
|||||||
|
|
||||||
/*The area is truncated to the screen*/
|
/*The area is truncated to the screen*/
|
||||||
if(suc != false) {
|
if(suc != false) {
|
||||||
if(disp->driver.rounder_cb) disp->driver.rounder_cb(&disp_refr->driver, &com_area);
|
if(disp->driver.rounder_cb) disp->driver.rounder_cb(&disp->driver, &com_area);
|
||||||
|
|
||||||
/*Save only if this area is not in one of the saved areas*/
|
/*Save only if this area is not in one of the saved areas*/
|
||||||
uint16_t i;
|
uint16_t i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user