ruffle/exporter
Aaron Hill 2f81f5814d render: Add `premultiplied_alpha` parameter for image capture
When rendering offscreen, we want the resulting image to use
premultiplied alpha, since the image will be stored in a texture.

However, when capturing an image in the exporter or test framework,
we want to use straight alpha, so that the resulting image can
be saved as a PNG.

Previously, we incorrectly used straight alpha everywhere, resulting
in incorrect output when using BitmapData.draw with transparency.
2022-09-09 15:46:48 -07:00
..
src render: Add `premultiplied_alpha` parameter for image capture 2022-09-09 15:46:48 -07:00
Cargo.toml build(deps): bump clap from 3.2.18 to 3.2.20 2022-09-05 14:47:03 -07:00