mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix screen shot flipping
Former-commit-id: 47ed01cd5f91445d1367121d939c01876008f643
This commit is contained in:
parent
7855dfe52f
commit
4f970b63ef
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user