mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- Reverted the part of r2226 than reverted r2205 (accidentally, I assume).
SVN r2227 (trunk)
This commit is contained in:
parent
d69eb3acd1
commit
9d8a9bc981
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ void FDDSTexture::DecompressDXT5 (FWadLump &lump, bool premultiplied, BYTE *tcbu
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Alpha values are stored in 3 bytes for 2 rows
|
// Alpha values are stored in 3 bytes for 2 rows
|
||||||
if ((y & 0) == 0)
|
if ((y & 1) == 0)
|
||||||
{
|
{
|
||||||
yalphaslice = block[y*3] | (block[y*3+1] << 8) | (block[y*3+2] << 16);
|
yalphaslice = block[y*3] | (block[y*3+1] << 8) | (block[y*3+2] << 16);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue