diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2005-07-18 13:50:06 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2005-07-18 13:50:06 +0000 |
commit | c235a96a7198f5975baec3870e48ee83bf32e23a (patch) | |
tree | 14b0f556518c9c3eeca6e500c06c51c88aea08a2 /src/mesa | |
parent | aa8ff1e75dbfccd73a15230ccd1f64bb26766860 (diff) |
pass in the renderbuffer
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_masking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_masking.c b/src/mesa/swrast/s_masking.c index f58b2c20e2..391dfde7a1 100644 --- a/src/mesa/swrast/s_masking.c +++ b/src/mesa/swrast/s_masking.c @@ -111,7 +111,7 @@ _swrast_mask_rgba_array(GLcontext *ctx, struct gl_renderbuffer *rb, const GLint bMask = ctx->Color.ColorMask[BCOMP]; const GLint aMask = ctx->Color.ColorMask[ACOMP]; - _swrast_read_rgba_span( ctx, ctx->DrawBuffer, n, x, y, dest ); + _swrast_read_rgba_span( ctx, rb, n, x, y, dest ); for (i = 0; i < n; i++) { if (!rMask) rgba[i][RCOMP] = dest[i][RCOMP]; if (!gMask) rgba[i][GCOMP] = dest[i][GCOMP]; |