Stoopid typo in 'full osa' caused the wrong mask value to be sent to the

raytracer. Instead of only tracing the current subpixel it did all
(or most) of them.

Solves reports on slow AO in 2.34, but also will affect ray_mir and transp
This commit is contained in:
Ton Roosendaal
2004-08-30 17:17:08 +00:00
parent a297f42bcd
commit e3f97af5c8

View File

@@ -3206,7 +3206,7 @@ void zbufshadeDA(void) /* Delta Accum Pixel Struct */
if(curmask & (1<<samp)) {
xs= (float)x + jit[samp][0];
ys= (float)y + jit[samp][1];
shadepixel_short(xs, ys, face, curmask, shortcol);
shadepixel_short(xs, ys, face, (1<<samp), shortcol);
if(shortcol[3]) add_filt_mask(1<<samp, shortcol, rb1, rb2, rb3);
}