mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
This prevents shadows from flooding the OSD and killing performance.
git-svn-id: https://svn.eduke32.com/eduke32@1398 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a23c9c23ba
commit
2547739ff4
1 changed files with 1 additions and 1 deletions
|
@ -4506,7 +4506,7 @@ static void polymer_prepareshadows(void)
|
|||
{
|
||||
prlights[i].flags.isinview = 0;
|
||||
prlights[i].rtindex = j + 1;
|
||||
if (pr_verbosity >= 1) OSD_Printf("PR : Drawing shadow %i...\n", i);
|
||||
if (pr_verbosity >= 3) OSD_Printf("PR : Drawing shadow %i...\n", i);
|
||||
|
||||
bglBindFramebufferEXT(GL_FRAMEBUFFER_EXT, prrts[prlights[i].rtindex].fbo);
|
||||
bglPushAttrib(GL_VIEWPORT_BIT);
|
||||
|
|
Loading…
Reference in a new issue