From e2614717435231a2fb52aa7bc741356afad0f95c Mon Sep 17 00:00:00 2001 From: yamamama Date: Fri, 30 Jan 2026 02:02:06 -0500 Subject: [PATCH] Fix up how the palette color cube is applied You fed it into a tempvalue and never actually USED the tempvalue?! --- src/v_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_video.c b/src/v_video.c index 33dc94faa..56f7e30bb 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -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)