You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Make Basis Universal import quiet unless engine is in verbose mode
This makes Basis Universal stdout match other compression modes.
This commit is contained in:
@@ -65,6 +65,12 @@ Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::UsedCha
|
|||||||
params.m_multithreading = true;
|
params.m_multithreading = true;
|
||||||
params.m_check_for_alpha = false;
|
params.m_check_for_alpha = false;
|
||||||
|
|
||||||
|
if (!OS::get_singleton()->is_stdout_verbose()) {
|
||||||
|
params.m_print_stats = false;
|
||||||
|
params.m_compute_stats = false;
|
||||||
|
params.m_status_output = false;
|
||||||
|
}
|
||||||
|
|
||||||
basisu::job_pool job_pool(OS::get_singleton()->get_processor_count());
|
basisu::job_pool job_pool(OS::get_singleton()->get_processor_count());
|
||||||
params.m_pJob_pool = &job_pool;
|
params.m_pJob_pool = &job_pool;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user