[Mesa-dev] [PATCH 2/2] swrast: fix depth/stencil blits when there's no colorbuffer
Brian Paul
brianp at vmware.com
Mon Jul 11 06:53:37 PDT 2011
On 07/10/2011 12:30 PM, Marek Olšák wrote:
> NOTE: This is a candidate for the 7.10 and 7.11 branches.
> ---
> src/mesa/swrast/s_blit.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c
> index 3516a41..7f53f19 100644
> --- a/src/mesa/swrast/s_blit.c
> +++ b/src/mesa/swrast/s_blit.c
> @@ -568,9 +568,6 @@ _swrast_BlitFramebuffer(struct gl_context *ctx,
> };
> GLint i;
>
> - if (!ctx->DrawBuffer->_NumColorDrawBuffers)
> - return;
> -
> if (!_mesa_clip_blit(ctx,&srcX0,&srcY0,&srcX1,&srcY1,
> &dstX0,&dstY0,&dstX1,&dstY1)) {
> return;
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list