diff options
author | Ian Romanick <[email protected]> | 2011-08-26 10:03:26 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-09 12:01:51 -0700 |
commit | bd817215c893cda4f23cb0ad207478ad3935e65c (patch) | |
tree | f9f2d26917c09caedbf23ef71eee8b42b462dde0 /src/mesa/drivers/dri/intel/intel_tex.h | |
parent | 36a91e45f755af164232ef908419bc4cb64ba45b (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.h b/src/mesa/drivers/dri/intel/intel_tex.h index 1eaa3cc9167..895c6348e85 100644 --- a/src/mesa/drivers/dri/intel/intel_tex.h +++ b/src/mesa/drivers/dri/intel/intel_tex.h @@ -72,9 +72,7 @@ void intel_tex_image_s8z24_gather(struct intel_context *intel, int intel_compressed_num_bytes(GLuint mesaFormat); GLboolean intel_copy_texsubimage(struct intel_context *intel, - GLenum target, struct intel_texture_image *intelImage, - GLenum internalFormat, GLint dstx, GLint dsty, GLint x, GLint y, GLsizei width, GLsizei height); |