mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
Use polymer_invalidatelights().
git-svn-id: https://svn.eduke32.com/eduke32@1429 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8982670fbc
commit
980534075a
1 changed files with 1 additions and 8 deletions
|
@ -5935,14 +5935,7 @@ static int32_t osdcmd_cvar_set_polymost(const osdfuncparm_t *parm)
|
||||||
{
|
{
|
||||||
if (pr_maxlightpasses != r_pr_maxlightpasses)
|
if (pr_maxlightpasses != r_pr_maxlightpasses)
|
||||||
{
|
{
|
||||||
int32_t i = 0;
|
polymer_invalidatelights();
|
||||||
|
|
||||||
while (i < PR_MAXLIGHTS)
|
|
||||||
{
|
|
||||||
if (prlights[i].flags.active)
|
|
||||||
prlights[i].flags.invalidate = 1;
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
pr_maxlightpasses = r_pr_maxlightpasses;
|
pr_maxlightpasses = r_pr_maxlightpasses;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in a new issue