On Thu, 22 Dec 2011 09:31:59 -0700, Brian Paul <brian.e.p...@gmail.com> wrote:
> On Wed, Dec 21, 2011 at 1:01 PM, Eric Anholt <e...@anholt.net> wrote:
> > On Sun, 18 Dec 2011 20:08:13 -0700, Brian Paul <bri...@vmware.com> wrote:
> >>     if ((stencilMask & stencilMax) != stencilMax) {
> >>        /* need to apply writemask */
> >>        GLubyte destVals[MAX_WIDTH], newVals[MAX_WIDTH];
> >>        GLint i;
> >> -      rb->GetRow(ctx, rb, n, x, y, destVals);
> >> +
> >> +      _mesa_unpack_ubyte_stencil_row(rb->Format, n, stencilBuf, destVals);
> >>        for (i = 0; i < n; i++) {
> >>           newVals[i]
> >>              = (stencil[i] & stencilMask) | (destVals[i] & ~stencilMask);
> >>        }
> >> -      rb->PutRow(ctx, rb, n, x, y, newVals, NULL);
> >> +      _mesa_pack_ubyte_stencil_row(rb->Format, n, destVals, stencilBuf);
> >
> > s/destVals/newVals/ ?
> 
> Will do.  R-b?

Yeah.

Attachment: pgpJHjiNbVCav.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to