mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 09:53:48 +00:00
Fix bug in stb_dxt where we thought < is opposite of >
This commit is contained in:
parent
0f28b14398
commit
f43e934eb8
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ static void stb__CompressColorBlock(unsigned char *dest, unsigned char *block, i
|
|||
}
|
||||
|
||||
// write the color block
|
||||
if(max16 < min16)
|
||||
if(max16 <= min16)
|
||||
{
|
||||
unsigned short t = min16;
|
||||
min16 = max16;
|
||||
|
|
Loading…
Reference in a new issue