plug-ins: set blue channel of BC5 dds images to 0 instead of 255.

Information in issue #6200 revealed that 0 as default value for
the blue channel is a lot more common than 255 so let's use 
that instead. The discussion and testing revealed no negative
effects for the other formats that use the same code to
initialize the memory to read blocks of image data.
This commit is contained in:
Jacob Boerema 2021-01-05 17:56:24 -05:00
parent a4cc8b7070
commit 691548579a
1 changed files with 1 additions and 1 deletions

View File

@ -1484,7 +1484,7 @@ dxt_decompress (unsigned char *dst,
{
for (x = 0; x < width; x += 4)
{
memset(block, 255, 16 * 4);
memset(block, 0, 16 * 4);
if (format == DDS_COMPRESS_BC1)
{