# HG changeset patch # User Sebastien Jodogne # Date 1527872608 -7200 # Node ID 5f2dd8b6ee2f4a6dd2542e9d1fa0df8bc4d0865a # Parent 193ef9c1b731a02396a18132a3ed3ecf62533e4b cont diff -r 193ef9c1b731 -r 5f2dd8b6ee2f Core/Images/ImageProcessing.cpp --- a/Core/Images/ImageProcessing.cpp Fri Jun 01 10:51:06 2018 +0200 +++ b/Core/Images/ImageProcessing.cpp Fri Jun 01 19:03:28 2018 +0200 @@ -550,7 +550,8 @@ return; } - if (target.GetFormat() == PixelFormat_RGBA32 && + if ((target.GetFormat() == PixelFormat_RGBA32 || + target.GetFormat() == PixelFormat_BGRA32) && source.GetFormat() == PixelFormat_Grayscale8) { for (unsigned int y = 0; y < source.GetHeight(); y++)