summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-09-27 09:05:22 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:02:59 +0100
commitd5cf1a872bc71e638dabe38926f2ef1bfbea667e (patch)
tree641525fc12c01783c275e44bc812f0856e3bedb2 /modules
parent339cab7b5359717b910f75b2a503176d74953355 (diff)
Fixes to Basis Universal.
Diffstat (limited to 'modules')
-rw-r--r--modules/basis_universal/register_types.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/basis_universal/register_types.cpp b/modules/basis_universal/register_types.cpp
index 226567982b..780630c857 100644
--- a/modules/basis_universal/register_types.cpp
+++ b/modules/basis_universal/register_types.cpp
@@ -57,11 +57,12 @@ static PoolVector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Ima
params.m_max_endpoint_clusters = 512;
params.m_max_selector_clusters = 512;
params.m_multithreading = true;
- params.m_no_hybrid_sel_cb = true; //fixme, default on this causes crashes
+ //params.m_no_hybrid_sel_cb = true; //fixme, default on this causes crashes //seems fixed?
params.m_pSel_codebook = sel_codebook;
- params.m_quality_level = 0;
+ //params.m_quality_level = 0;
//params.m_disable_hierarchical_endpoint_codebooks = true;
//params.m_no_selector_rdo = true;
+ params.m_no_auto_global_sel_pal = true;
basisu::job_pool jpool(OS::get_singleton()->get_processor_count());
params.m_pJob_pool = &jpool;