From: Eric Anholt Date: Wed, 4 Nov 2009 23:11:02 +0000 (-0800) Subject: intel: Clean up some extra struct indirection in finalize. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8df81bca1704aef2f5cdc4052ef313d8f84f5d06;p=mesa.git intel: Clean up some extra struct indirection in finalize. --- diff --git a/src/mesa/drivers/dri/intel/intel_tex_validate.c b/src/mesa/drivers/dri/intel/intel_tex_validate.c index df93b3b7598..dbef2886159 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_validate.c +++ b/src/mesa/drivers/dri/intel/intel_tex_validate.c @@ -138,8 +138,7 @@ intel_finalize_mipmap_tree(struct intel_context *intel, GLuint unit) /* What levels must the tree include at a minimum? */ intel_calculate_first_last_level(intel, intelObj); - firstImage = - intel_texture_image(intelObj->base.Image[0][intelObj->firstLevel]); + firstImage = intel_texture_image(tObj->Image[0][intelObj->firstLevel]); /* Fallback case: */