Fix up how the palette color cube is applied
You fed it into a tempvalue and never actually USED the tempvalue?!
This commit is contained in:
parent
f3767c5e77
commit
e261471743
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ static void LoadPalette(const char *lumpname)
|
|||
RGBA_t pGCP = pGammaCorrectedPalette[i];
|
||||
|
||||
V_CubeApply(&pGCP.s.red,&pGCP.s.green,&pGCP.s.blue);
|
||||
pLocalPalette[i].rgba = V_GammaEncode(pGammaCorrectedPalette[i].rgba);
|
||||
pLocalPalette[i].rgba = V_GammaEncode(pGCP.rgba);
|
||||
}
|
||||
|
||||
if (palcopy)
|
||||
|
|
|
|||
Loading…
Reference in a new issue