1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

basis_universal: Sync with upstream 646a9f826

646a9f8261
This commit is contained in:
Rémi Verschelde
2021-11-19 18:40:08 +01:00
parent c6d2768a19
commit 2c22caccc5
10 changed files with 52 additions and 62 deletions

View File

@@ -467,7 +467,10 @@ namespace basisu
return false;
}
printf("Read source image \"%s\", %ux%u\n", pSource_filename, file_image.get_width(), file_image.get_height());
if (m_params.m_status_output)
{
printf("Read source image \"%s\", %ux%u\n", pSource_filename, file_image.get_width(), file_image.get_height());
}
// Optionally load another image and put a grayscale version of it into the alpha channel.
if ((source_file_index < m_params.m_source_alpha_filenames.size()) && (m_params.m_source_alpha_filenames[source_file_index].size()))
@@ -1427,7 +1430,10 @@ namespace basisu
return false;
}
printf("Wrote output .basis/.ktx2 file \"%s\"\n", output_filename.c_str());
if (m_params.m_status_output)
{
printf("Wrote output .basis/.ktx2 file \"%s\"\n", output_filename.c_str());
}
}
size_t comp_size = 0;