Merge pull request #56715 from V-Sekai/exr-save-3

This commit is contained in:
Rémi Verschelde 2022-01-12 11:29:11 +01:00 committed by GitHub
commit 21d52c6090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ Error save_exr(const String &p_path, const Ref<Image> &p_img, bool p_grayscale)
{ 0 }, // R
{ 1, 0 }, // GR
{ 2, 1, 0 }, // BGR
{ 2, 1, 0, 3 } // BGRA
{ 3, 2, 1, 0 } // ABGR
};
int channel_count = get_channel_count(format);