Fix end of lines.
This commit is contained in:
parent
56c7771100
commit
ff93ad41cb
|
@ -360,10 +360,10 @@ void QuickCompress::compressDXT1(Color32 c, BlockDXT1 * dxtBlock)
|
||||||
dxtBlock->col1.b = OMatch5[c.b][1];
|
dxtBlock->col1.b = OMatch5[c.b][1];
|
||||||
dxtBlock->indices = 0xaaaaaaaa;
|
dxtBlock->indices = 0xaaaaaaaa;
|
||||||
|
|
||||||
if (dxtBlock->col0.u < dxtBlock->col1.u)
|
if (dxtBlock->col0.u < dxtBlock->col1.u)
|
||||||
{
|
{
|
||||||
swap(dxtBlock->col0.u, dxtBlock->col1.u);
|
swap(dxtBlock->col0.u, dxtBlock->col1.u);
|
||||||
dxtBlock->indices ^= 0x55555555;
|
dxtBlock->indices ^= 0x55555555;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user