intel: Remove pointless boolean return value from *_miptree_layout.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 24 Sep 2011 05:42:18 +0000 (22:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 24 Sep 2011 05:42:18 +0000 (22:42 -0700)
commitd7cdbc3c5415d2dd5eee58834b13714a89eacf2b
tree490dfbef3e2544e2d46198a019369cd0d790e843
parent0d949a51bb44da51cd843abcf6ecddc5e3d3a2f1
intel: Remove pointless boolean return value from *_miptree_layout.

i915_miptree_layout, i945_miptree_layout, and brw_miptree_layout always
just return GL_TRUE, so there's really no point to it.  Change them to
void functions and remove the (dead) error checking code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h