Shrink row buffer to the previous capacity

This commit is contained in:
Vadim Kaushan 2020-01-28 20:50:58 +03:00
parent 11c4a5ca34
commit f958482f98
No known key found for this signature in database
GPG key ID: A501C5DF67C05C4E

View file

@ -304,7 +304,7 @@ where
where
T: IntoIterator<Item = drawable::Pixel<Rgb565>>,
{
const BUF_SIZE: usize = 64;
const BUF_SIZE: usize = 32;
let mut row: [u16; BUF_SIZE] = [0; BUF_SIZE];
let mut i = 0;