- Fixed: COLORMAP tricks to produce bright lights do not work with the hardware renderer, so do
not hardware accelerate weapon sprites that use them. (see Harmony) SVN r3170 (trunk)
This commit is contained in:
parent
820554d636
commit
3344fa9f30
5 changed files with 62 additions and 6 deletions
|
|
@ -2301,6 +2301,14 @@ void R_DrawPSprite (pspdef_t* psp, int pspnum, AActor *owner, fixed_t sx, fixed_
|
|||
}
|
||||
}
|
||||
}
|
||||
// If the main colormap has fixed lights, and this sprite is being drawn with that
|
||||
// colormap, disable acceleration so that the lights can remain fixed.
|
||||
if (!noaccel &&
|
||||
NormalLightHasFixedLights && mybasecolormap == &NormalLight &&
|
||||
vis->pic->UseBasePalette())
|
||||
{
|
||||
noaccel = true;
|
||||
}
|
||||
VisPSpritesBaseColormap[pspnum] = mybasecolormap;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue