mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- Fixed: When the player sprite is being drawn with a fixed colormap, hardware acceleration
should not be disabled when the regular colormap has lights that stay bright throughout. SVN r4001 (trunk)
This commit is contained in:
parent
682c7d2a8a
commit
21ada0b3f6
1 changed files with 1 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ 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
|
// 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.
|
// colormap, disable acceleration so that the lights can remain fixed.
|
||||||
if (!noaccel &&
|
if (!noaccel && realfixedcolormap == NULL &&
|
||||||
NormalLightHasFixedLights && mybasecolormap == &NormalLight &&
|
NormalLightHasFixedLights && mybasecolormap == &NormalLight &&
|
||||||
vis->pic->UseBasePalette())
|
vis->pic->UseBasePalette())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue