BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.7k stars 265 forks source link

[Fix 300] Make sure either quality level or endpoint and selector clusters are set #301

Open roy-t opened 2 years ago

roy-t commented 2 years ago

Fix 300 (https://github.com/BinomialLLC/basis_universal/issues/300). Make sure either quality level or endpoint and selector clusters are set. Without this the front-end will fail when trying compress in ETC1S mode and neither quality or the endpoint and selector clusters where changed from their defaults.

The new behavior is similar to the command line tool, which has a similar check.

richgel999 commented 2 years ago

This is great - thank you. Will test it and then merge if it looks good.