aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2016-09-11 00:07:31 +0200
committerAlejandro Piñeiro <[email protected]>2016-09-12 07:21:32 +0200
commite77bf3247524df31d19cf4c09a19fb8b52fd9d9d (patch)
tree2dc842aa2c706406d247ce3bf9cd0398b3c58979 /src
parent08c5b10ae904231d887f9b6c37694c0e03939a28 (diff)
i965: remove unused variable at intel_miptree_create_for_teximage
After commit "i965: Fix calculation of the image height at start level", it is not needed. This commit removes the "warning: unused variable ‘i’" warning. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c
index 65962eb41ba..6142a5fae35 100644
--- a/src/mesa/drivers/dri/i965/intel_tex_image.c
+++ b/src/mesa/drivers/dri/i965/intel_tex_image.c
@@ -40,7 +40,6 @@ intel_miptree_create_for_teximage(struct brw_context *brw,
{
GLuint lastLevel;
int width, height, depth;
- GLuint i;
intel_get_image_dims(&intelImage->base.Base, &width, &height, &depth);