mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-19 00:44:30 +00:00
adjusting comments for clarity
This commit is contained in:
@@ -5011,7 +5011,8 @@ namespace basisu
|
||||
// Valid XUASTC LDR weight grid DCT quality levels are 1-100.
|
||||
if (basist::basis_tex_format_is_xuastc_ldr(mode) && (uastc_rdo_or_dct_quality != 0.0f))
|
||||
{
|
||||
if ((uastc_rdo_or_dct_quality >= (float)BASISU_XUASTC_QUALITY_MIN) && (uastc_rdo_or_dct_quality < (float)BASISU_XUASTC_QUALITY_MAX))
|
||||
// TODO: change this so 100=no DCT to simplify the non-unified API, right now they must set 0=no DCT
|
||||
if ((uastc_rdo_or_dct_quality >= (float)BASISU_XUASTC_QUALITY_MIN) && (uastc_rdo_or_dct_quality < (float)BASISU_XUASTC_QUALITY_MAX))
|
||||
{
|
||||
// Enable weight grid DCT usage, set quality level.
|
||||
comp_params.m_xuastc_ldr_use_dct = true;
|
||||
|
||||
Reference in New Issue
Block a user