From 9c5fdbb721147f7304faaa8960f5b64e25a8f673 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 9 Jun 2011 10:07:56 -0700 Subject: intel: Use the gl_format to get the base_format for miptree create. One less argument to this insanely long function call. --- src/mesa/drivers/dri/intel/intel_tex_image.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/drivers/dri/intel/intel_tex_image.c') 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, -- cgit v1.2.3