mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
On a Linux host, we were having to convert the type of the bitmap to N32, but we weren't also fixing the channel order to RGBA, so consequently we were getting BGRA when the API was asking for RGBA. This forces the color format to be RGBA when that is what is asked for. We weren't needing to do conversion on macOS, so macOS was always getting RGBA.