Special colormap support for when no hw accel is available

This commit is contained in:
Magnus Norddahl 2016-06-12 22:54:23 +02:00
commit 0f0859b0b2
5 changed files with 181 additions and 3 deletions

View file

@ -1423,7 +1423,7 @@ void R_DrawPSprite (pspdef_t* psp, int pspnum, AActor *owner, double sx, double
}
}
if (realfixedcolormap != NULL)
if (realfixedcolormap != NULL && (!r_swtruecolor || (r_shadercolormaps && screen->Accel2D)))
{ // fixed color
vis->Style.BaseColormap = realfixedcolormap;
vis->Style.ColormapNum = 0;