mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(hal): disable driver->screen_transp by default regardless to LV_COLOR_SCREEN_TRANSP
With the new layer handling LV_COLOR_SCREEN_TRANSP will be enabled in a lot of cases but screen_transp still shouldn't be enabled.
This commit is contained in:
parent
3c0a3d05cc
commit
ff7204ecad
@ -89,7 +89,7 @@ void lv_disp_drv_init(lv_disp_drv_t * driver)
|
||||
driver->offset_x = 0;
|
||||
driver->offset_y = 0;
|
||||
driver->antialiasing = LV_COLOR_DEPTH > 8 ? 1 : 0;
|
||||
driver->screen_transp = LV_COLOR_SCREEN_TRANSP;
|
||||
driver->screen_transp = 0;
|
||||
driver->dpi = LV_DPI_DEF;
|
||||
driver->color_chroma_key = LV_COLOR_CHROMA_KEY;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user