intel: Silence "warning: unused parameter ‘depth0’"
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2011 17:15:47 +0000 (10:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 19:01:51 +0000 (12:01 -0700)
commit6f23d9b637602d9997896c6ca5cba0dfe36a092e
tree6b64abafedaa52565af0c0566a2677a987c21d28
parentbd817215c893cda4f23cb0ad207478ad3935e65c
intel: Silence "warning: unused parameter ‘depth0’"

The depth0 parameter was not used in intel_miptree_create_for_region,
so remove it.  All of the places that call this function, pass 1 for
that parameter, and the place where it looks like it should have been
used (the call to intel_miptree_create_internal) also had 1 hard
coded.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_image.c