ruffle/render
Aaron Hill 8a1e297e26 wgpu: Convert from premultiplied to straight alpha when capturing image
The captured WGPU texture uses premultiplied alpha.
This image gets saved as a PNG, so it should use straight alpha.
Note that all of our current image tests have 'alpha = 1.0' for all
of the pixels, so this currently has no effect.
2022-08-19 13:35:07 -07:00
..
canvas canvas: Stub out more blend modes 2022-08-18 16:38:17 -07:00
src core: Add unmultiply_alpha_rgba 2022-08-19 13:35:07 -07:00
webgl webgl: Stub out more blend modes 2022-08-18 16:38:17 -07:00
wgpu wgpu: Convert from premultiplied to straight alpha when capturing image 2022-08-19 13:35:07 -07:00
Cargo.toml render: Removed common_tess and moved tessellator to render 2022-08-14 18:38:14 -07:00