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 <timothy.arceri@collabora.com>
This commit is contained in:
Alejandro Piñeiro 2016-09-11 00:07:31 +02:00
parent 08c5b10ae9
commit e77bf32475
1 changed files with 0 additions and 1 deletions

View File

@ -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);