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:
Bill Currie 2001-08-06 04:13:41 +00:00
parent 014e36dece
commit 9ac148dd69

View file

@ -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)