Don't use the local palette, because OpenGL mixes it into the textures themselves

This commit is contained in:
Jaime Passos 2019-12-17 15:20:22 -03:00
parent 3d08664de4
commit 0af71fafc5

View file

@ -432,8 +432,11 @@ static void GIF_headwrite(void)
// write color table
{
RGBA_t *pal = ((cv_screenshot_colorprofile.value)
? pLocalPalette
RGBA_t *pal = ((cv_screenshot_colorprofile.value
#ifdef HWRENDER
&& (rendermode == render_soft)
#endif
) ? pLocalPalette
: pMasterPalette);
for (i = 0; i < 256; i++)