Constant alacritty::renderer::text::gles2::BATCH_MAX

source ·
const BATCH_MAX: usize = _; // 65_532usize
Expand description

Maximum items to be drawn in a batch.

We use the closest number to u16::MAX dividable by 4 (amount of vertices we push for a glyph), since it’s the maximum possible index in glDrawElements in GLES2.