Re: [Mesa-dev] [PATCH 2/2] swrast: Remove redundant term in logic expression

2011-10-10 Thread Brian Paul
On Mon, Oct 10, 2011 at 7:11 PM, Chad Versace wrote: > Fix is in {read,draw}_depth_stencil_pixels().  If depthRb == stencilRb, > then it is redundant to check depthRb->x *and* stencilRb->x. > > Signed-off-by: Chad Versace > --- >  src/mesa/swrast/s_drawpix.c |    1 - >  src/mesa/swrast/s_readpix.

[Mesa-dev] [PATCH 2/2] swrast: Remove redundant term in logic expression

2011-10-10 Thread Chad Versace
Fix is in {read,draw}_depth_stencil_pixels(). If depthRb == stencilRb, then it is redundant to check depthRb->x *and* stencilRb->x. Signed-off-by: Chad Versace --- src/mesa/swrast/s_drawpix.c |1 - src/mesa/swrast/s_readpix.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff