diff options
author | Eric Anholt <[email protected]> | 2011-06-09 10:07:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-06-14 11:17:39 -0700 |
commit | 9c5fdbb721147f7304faaa8960f5b64e25a8f673 (patch) | |
tree | 681eac7e492dc4013de01f31ffe517302ce4f9f3 /src/mesa/drivers/dri/intel/intel_tex_image.c | |
parent | 9a523a48af05118424714f0a34ca3dda6861186a (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.c | 1 |
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, |