mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 16:35:43 +00:00
Fix another small bug
This commit is contained in:
parent
610d2d611d
commit
facdbe9d1c
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ namespace ASTCC {
|
|||
while(--range > 0) {
|
||||
IntegerEncodedValue val = IntegerEncodedValue::CreateEncoding(range);
|
||||
uint32 bitLength = val.GetBitLength(nValues);
|
||||
if(bitLength < nBitsForColorData) {
|
||||
if(bitLength <= nBitsForColorData) {
|
||||
// Find the smallest possible range that matches the given encoding
|
||||
while(--range > 0) {
|
||||
IntegerEncodedValue newval = IntegerEncodedValue::CreateEncoding(range);
|
||||
|
|
Loading…
Reference in a new issue