mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
Merge pull request #219 from lexaknyazev/patch-1
Fix UASTC to EAC RG11 green channel selection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user