Merge pull request #77 from faxe1008/fix-gif-output

GifExporter: Disable dithering fixing artifacts in recording

Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/51
This commit is contained in:
NeroBurner 2022-11-21 20:15:59 +01:00 committed by GitHub
commit 63bfd6e49e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ public:
image[(hi * sdl_width + wi)*4 + 3] = 255; // no alpha
}
}
GifWriteFrame(&writer, image.data(), sdl_width, sdl_height, delay_ds, 8, true);
GifWriteFrame(&writer, image.data(), sdl_width, sdl_height, delay_ds, 8, false);
}
}
void close()