mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-23 18:45:48 +01:00
Fix another small bug
This commit is contained in:
parent
610d2d611d
commit
facdbe9d1c
@ -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 New Issue
Block a user