diff options
author | marha <marha@users.sourceforge.net> | 2011-08-08 13:46:22 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-08-08 13:46:22 +0200 |
commit | f8e53281a55d43ae1b17f848f28579d74d877835 (patch) | |
tree | 99933c3a0638a93e28ee2e1d5a2c23c97b0a94ba /mesalib/src/mesa/state_tracker/st_cb_blit.c | |
parent | 67e52c577364b17e7339b04faf17c77cd3ad9b59 (diff) | |
parent | 0c2b3e6fd26158cb97f4210cc891e218801b4b25 (diff) | |
download | vcxsrv-f8e53281a55d43ae1b17f848f28579d74d877835.tar.gz vcxsrv-f8e53281a55d43ae1b17f848f28579d74d877835.tar.bz2 vcxsrv-f8e53281a55d43ae1b17f848f28579d74d877835.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
mesalib/src/mesa/main/mtypes.h
mesalib/src/mesa/main/shaderapi.c
mesalib/src/mesa/program/ir_to_mesa.cpp
mesalib/src/mesa/program/prog_optimize.c
mesalib/src/mesa/state_tracker/st_cb_blit.c
xorg-server/xkeyboard-config/rules/base.o_s.part
xorg-server/xkeyboard-config/rules/base.xml.in
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_blit.c')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_cb_blit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_blit.c b/mesalib/src/mesa/state_tracker/st_cb_blit.c index 63afc1c24..a890afe74 100644 --- a/mesalib/src/mesa/state_tracker/st_cb_blit.c +++ b/mesalib/src/mesa/state_tracker/st_cb_blit.c @@ -107,8 +107,10 @@ st_BlitFramebuffer_resolve(struct gl_context *ctx, dstRb = st_renderbuffer(dstDepth->Renderbuffer);
info->mask = (mask & GL_DEPTH_BUFFER_BIT) ? PIPE_MASK_Z : 0;
- if (combined && (mask & GL_STENCIL_BUFFER_BIT))
+ if (combined && (mask & GL_STENCIL_BUFFER_BIT)) {
+ mask &= ~GL_STENCIL_BUFFER_BIT;
info->mask |= PIPE_MASK_S;
+ }
info->src.res = srcRb->texture;
info->src.layer = srcRb->surface->u.tex.first_layer;
|