mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Blood's voxel loader override has somehow gotten lost.
This commit is contained in:
parent
eebb396241
commit
452cfe385e
2 changed files with 5 additions and 2 deletions
|
@ -10377,6 +10377,9 @@ static void videoAllocateBuffers(void)
|
|||
void (*PolymostProcessVoxels_Callback)(void) = NULL;
|
||||
static void PolymostProcessVoxels(void)
|
||||
{
|
||||
if (PolymostProcessVoxels_Callback)
|
||||
PolymostProcessVoxels_Callback();
|
||||
|
||||
if (g_haveVoxels != 1)
|
||||
return;
|
||||
|
||||
|
|
|
@ -62,9 +62,9 @@ FHardwareTexture *gloadtex(const int32_t *picbuf, int32_t xsiz, int32_t ysiz, in
|
|||
{
|
||||
const int32_t ii = palookup[dapal][pic[i].a];
|
||||
|
||||
pic2[i].b = curpalette[ii].b;
|
||||
pic2[i].r = curpalette[ii].b;
|
||||
pic2[i].g = curpalette[ii].g;
|
||||
pic2[i].r = curpalette[ii].r;
|
||||
pic2[i].b = curpalette[ii].r;
|
||||
pic2[i].a = 255;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue