OSDN Git Service

i965: Remove redundant null check
authorChad Versace <chad.versace@linux.intel.com>
Tue, 14 Aug 2012 18:28:27 +0000 (11:28 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 27 Aug 2012 14:47:09 +0000 (07:47 -0700)
commita2a7e640a4e81c906e42a98602c84757c37ed0b1
treef45c4869e37bdb3c8e4fb062a29a0728bded698c
parent7f0fcf17c342dcb788c2182b20973c48806ee498
i965: Remove redundant null check

intel_renderbuffer_resolve_hiz checks if rb->mt is null, so there is no
need for the caller to do so.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_draw.c