intel: Drop some extra equality checks on reference/release functions.
authorEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 21:47:39 +0000 (14:47 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Sep 2011 22:33:42 +0000 (15:33 -0700)
commit19cfe1e035fdaf03b7a3560c47f1b8d59a221902
treec70bf9433642738885c8ab40cfb635606e6e990f
parent14ae70f79328fb92886e4ebb5c950b35bcc3b5f5
intel: Drop some extra equality checks on reference/release functions.

_mesa_reference_renderbuffer already short-circuits equality, and
intel_miptree_release does nothing on NULL.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_tex.c