@@ -374,7 +374,8 @@ namespace basisu
374
374
if (m_params.m_hdr )
375
375
{
376
376
// UASTC HDR
377
- printf (" Mode: UASTC HDR Level %u\n " , m_params.m_uastc_hdr_options .m_level );
377
+ if (m_params.m_status_output )
378
+ printf (" Mode: UASTC HDR Level %u\n " , m_params.m_uastc_hdr_options .m_level );
378
379
379
380
error_code ec = encode_slices_to_uastc_hdr ();
380
381
if (ec != cECSuccess)
@@ -383,7 +384,8 @@ namespace basisu
383
384
else if (m_params.m_uastc )
384
385
{
385
386
// UASTC
386
- printf (" Mode: UASTC LDR Level %u\n " , m_params.m_pack_uastc_flags & cPackUASTCLevelMask);
387
+ if (m_params.m_status_output )
388
+ printf (" Mode: UASTC LDR Level %u\n " , m_params.m_pack_uastc_flags & cPackUASTCLevelMask);
387
389
388
390
error_code ec = encode_slices_to_uastc ();
389
391
if (ec != cECSuccess)
@@ -392,7 +394,8 @@ namespace basisu
392
394
else
393
395
{
394
396
// ETC1S
395
- printf (" Mode: ETC1S Quality %i, Level %i\n " , m_params.m_quality_level , (int )m_params.m_compression_level );
397
+ if (m_params.m_status_output )
398
+ printf (" Mode: ETC1S Quality %i, Level %i\n " , m_params.m_quality_level , (int )m_params.m_compression_level );
396
399
397
400
if (!process_frontend ())
398
401
return cECFailedFrontEnd;
@@ -2560,7 +2563,7 @@ namespace basisu
2560
2563
return false ;
2561
2564
}
2562
2565
2563
- // if (m_params.m_status_output)
2566
+ if (m_params.m_status_output )
2564
2567
{
2565
2568
printf (" Wrote output .basis/.ktx2 file \" %s\"\n " , output_filename.c_str ());
2566
2569
}
0 commit comments