mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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;
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue