mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Polymost: Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
git-svn-id: https://svn.eduke32.com/eduke32@5493 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
aac1900472
commit
223e67983d
1 changed files with 3 additions and 3 deletions
|
@ -63,9 +63,9 @@ uint32_t gloadtex(int32_t *picbuf, int32_t xsiz, int32_t ysiz, int32_t is8bit, i
|
|||
{
|
||||
const int32_t ii = palookup[dapal][pic[i].a] * 3;
|
||||
|
||||
pic2[i].b = cptr[palette[ii+2]*4];
|
||||
pic2[i].g = cptr[palette[ii+1]*4];
|
||||
pic2[i].r = cptr[palette[ii+0]*4];
|
||||
pic2[i].b = cptr[palette[ii+2]];
|
||||
pic2[i].g = cptr[palette[ii+1]];
|
||||
pic2[i].r = cptr[palette[ii+0]];
|
||||
pic2[i].a = 255;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue