Skip to main content

DRAW_BUFFER_ALIGNMENT

Constant DRAW_BUFFER_ALIGNMENT 

Source
pub const DRAW_BUFFER_ALIGNMENT: usize = 4;
Expand description

Alignment of the start of a draw buffer, in bytes. LVGL refuses buffers that are not aligned to LV_DRAW_BUF_ALIGN (include/lv_conf.h), which must not exceed this.