projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8ff1e
)
pass in the renderbuffer
author
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 18 Jul 2005 13:50:06 +0000
(13:50 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 18 Jul 2005 13:50:06 +0000
(13:50 +0000)
src/mesa/swrast/s_masking.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_masking.c
b/src/mesa/swrast/s_masking.c
index f58b2c20e24c4c4d4cc5f156a76276e4dec98c91..391dfde7a190f31eedb9ad0497a77b5842fa2eb7 100644
(file)
--- 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];