aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_tex_image.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-06-09 10:23:17 -0700
committerEric Anholt <[email protected]>2011-06-14 11:17:39 -0700
commitf94fef83db10f0c9327bd3dd43510ad31c94d82a (patch)
treef2c4a6db641e1426ef5d137c922838796a4c2e9c /src/mesa/drivers/dri/intel/intel_tex_image.c
parent6dcc398ac0837025cf60b4d6a056fa3b0a16466f (diff)
intel: Drop the cpp argument to intel_miptree_create().
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 6fa5c1309df..90d4117ec8f 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -55,7 +55,6 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
GLuint height = intelImage->base.Height;
GLuint depth = intelImage->base.Depth;
GLuint i;
- GLuint texelBytes;
DBG("%s\n", __FUNCTION__);
@@ -108,8 +107,6 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
}
}
- texelBytes = _mesa_get_format_bytes(intelImage->base.TexFormat);
-
return intel_miptree_create(intel,
intelObj->base.Target,
intelImage->base.TexFormat,
@@ -118,7 +115,6 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
width,
height,
depth,
- texelBytes,
expect_accelerated_upload);
}