Special colormap support for when no hw accel is available
This commit is contained in:
parent
350857a9f6
commit
0f0859b0b2
5 changed files with 181 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue