mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Damn cat
git-svn-id: https://svn.eduke32.com/eduke32@1427 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7c1950f9d2
commit
9cf34f9d4f
1 changed files with 8 additions and 1 deletions
|
@ -5935,9 +5935,16 @@ 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;
|
||||||
|
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue