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

Brian Paul brian.e.paul at gmail.com
Mon Oct 10 19:30:10 PDT 2011


On Mon, Oct 10, 2011 at 7:11 PM, Chad Versace <chad at chad-versace.us> 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 <chad at chad-versace.us>
> ---
>  src/mesa/swrast/s_drawpix.c |    1 -
>  src/mesa/swrast/s_readpix.c |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list