intel: Silence "warning: unused parameter ‘target’"
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2011 17:03:26 +0000 (10:03 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 19:01:51 +0000 (12:01 -0700)
commitbd817215c893cda4f23cb0ad207478ad3935e65c
treef9f2d26917c09caedbf23ef71eee8b42b462dde0
parent36a91e45f755af164232ef908419bc4cb64ba45b
intel: Silence "warning: unused parameter ‘target’"

The GLenum target parameter was not used in intel_copy_texsubimage, so
remove it.  Also remove the GLenum internalFormat parameter.  Each
caller just copied this out of the intel_texture_image that is already
passed to intel_copy_texsubimage.

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