Fix image being saved upside-down
This commit is contained in:
parent
50015a34ae
commit
747e4bb370
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ bool Tri::State::do_save() {
|
|||
draw_to_target(&saveTexture);
|
||||
|
||||
Image saveImage = LoadImageFromTexture(saveTexture.texture);
|
||||
ImageFlipVertical(&saveImage);
|
||||
UnloadRenderTexture(saveTexture);
|
||||
if(ExportImage(saveImage, saveFilenameBuffer.data())) {
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Reference in a new issue