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:
commit
63bfd6e49e
2
main.cpp
2
main.cpp
|
@ -230,7 +230,7 @@ public:
|
||||||
image[(hi * sdl_width + wi)*4 + 3] = 255; // no alpha
|
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()
|
void close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user