fix screen shot flipping

Former-commit-id: 47ed01cd5f91445d1367121d939c01876008f643
This commit is contained in:
Imbris 2019-05-18 19:09:23 -04:00
parent 7855dfe52f
commit 4f970b63ef

View File

@ -343,9 +343,10 @@ impl Renderer {
.factory
.read_mapping(&download)
.map_err(|err| RenderError::MappingError(err))?
.iter()
.chunks_exact(width as usize)
.rev()
.flatten()
.flatten()
.map(|&e| e)
.collect::<Vec<_>>();
Ok(image::DynamicImage::ImageRgba8(