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:07:56 -0700
committerEric Anholt <[email protected]>2011-06-14 11:17:39 -0700
commit9c5fdbb721147f7304faaa8960f5b64e25a8f673 (patch)
tree681eac7e492dc4013de01f31ffe517302ce4f9f3 /src/mesa/drivers/dri/intel/intel_tex_image.c
parent9a523a48af05118424714f0a34ca3dda6861186a (diff)
intel: Use the gl_format to get the base_format for miptree create.
One less argument to this insanely long function call.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 1a3665ccc66..b7d0eb1a449 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -116,7 +116,6 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
return intel_miptree_create(intel,
intelObj->base.Target,
intelImage->base.TexFormat,
- intelImage->base._BaseFormat,
firstLevel,
lastLevel,
width,