mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
freaking out by one error :/ I'm suprised previous runs worked at all, but
with this correction I am finally seeing the expected speed boost (12% on my c450 using my null GL lib).
This commit is contained in:
parent
014e36dece
commit
9ac148dd69
1 changed files with 8 additions and 8 deletions
|
@ -371,7 +371,7 @@ R_MarkLights (vec3_t lightorigin, dlight_t *light, int bit, model_t *model)
|
|||
}
|
||||
for (i = 0; i < 8 && leafnum < model->numleafs; i++, leafnum++) {
|
||||
int m;
|
||||
mleaf_t *leaf = &model->leafs[leafnum];
|
||||
mleaf_t *leaf = &model->leafs[leafnum + 1];
|
||||
if (!(vis_bits & (1 << i)))
|
||||
continue;
|
||||
if (leaf->visframe != r_visframecount)
|
||||
|
|
Loading…
Reference in a new issue