Merge pull request #219 from lexaknyazev/patch-1

Fix UASTC to EAC RG11 green channel selection
This commit is contained in:
Rich Geldreich
2021-03-30 14:14:45 -04:00
committed by GitHub

View File

@@ -9455,7 +9455,7 @@ namespace basist
{
if (channel0 < 0)
channel0 = 0;
if (channel1 < 3)
if (channel1 < 0)
channel1 = 3;
status = transcode_uastc_to_etc2_eac_rg11(*pSource_block, pDst_block, high_quality, channel0, channel1);
break;