cb70d6e612
wgpu 0.13 added `Surface::get_supported_formats`, so we can check if a non-sRGB surface format is supported on the current platform. Because Flash colors and blending are in sRGB space, we want a linear surface when possible to prevent the colors from being fiddled with by the GPU. |
||
---|---|---|
.. | ||
shaders | ||
src | ||
Cargo.toml |