From: Roland Scheidegger Date: Wed, 9 Jun 2010 16:46:48 +0000 (+0200) Subject: llvmpipe: fix copy & paste bug in clear logic X-Git-Tag: 062012170305~11893 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26d5d4d99510148eef4fd20845b7790b4fedc355;p=profile%2Fivi%2Fmesa.git llvmpipe: fix copy & paste bug in clear logic fixes bug 28450. --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index b6db66f..e8aafee 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -326,7 +326,7 @@ lp_setup_clear( struct lp_setup_context *setup, if (flags & PIPE_CLEAR_DEPTHSTENCIL) { if (setup->fb.zsbuf && - ((setup->clear.flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) && + ((flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) && util_format_is_depth_and_stencil(setup->fb.zsbuf->format)) full_zs_clear = FALSE;