adjusting comments for clarity

This commit is contained in:
Richard Geldreich
2026-02-12 20:44:17 -05:00
parent 9ed68b9889
commit 03d2057014
2 changed files with 3 additions and 2 deletions

View File

@@ -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;