Merge remote-tracking branch 'remotes/origin/master' into 2D_Refactor
# Conflicts: # src/posix/cocoa/i_video.mm
This commit is contained in:
commit
1e5fbc1423
18 changed files with 540 additions and 518 deletions
|
|
@ -356,7 +356,8 @@ void RenderPolyPlayerSprites::RenderSprite(PolyRenderThread *thread, DPSprite *p
|
|||
invertcolormap = !invertcolormap;
|
||||
}
|
||||
|
||||
bool fullbright = !foggy && pspr->GetState()->GetFullbright();
|
||||
const FState* const psprState = pspr->GetState();
|
||||
bool fullbright = !foggy && (psprState == nullptr ? false : psprState->GetFullbright());
|
||||
bool fadeToBlack = (vis.RenderStyle.Flags & STYLEF_FadeToBlack) != 0;
|
||||
|
||||
vis.Light.SetColormap(0, spriteshade, basecolormap, fullbright, invertcolormap, fadeToBlack);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue